File tree 14 files changed +24
-26
lines changed
rustdoc-scrape-examples-macros/src
rustdoc-scrape-examples-multiple/src
rustdoc-scrape-examples-ordering/src
rustdoc-scrape-examples-remap/src
rustdoc-scrape-examples-test/src
rustdoc-scrape-examples-whitespace/src
rustdoc-with-out-dir-option/src
rustdoc-with-output-option/src
rustdoc-with-short-out-dir-option/src
14 files changed +24
-26
lines changed Original file line number Diff line number Diff line change 1
1
// Scraped example should only include line numbers for items b and c in ex.rs
2
- // @ !has foobar/fn.f.html '//*[@class="src-line-numbers" ]' '14'
3
- // @ has foobar/fn.f.html '//*[@class="src-line-numbers" ]' '15'
4
- // @ has foobar/fn.f.html '//*[@class="src-line-numbers" ]' '21'
5
- // @ !has foobar/fn.f.html '//*[@class="src-line-numbers" ]' '22'
2
+ //@ !has foobar/fn.f.html '//span[@data-nosnippet ]' '14'
3
+ //@ has foobar/fn.f.html '//span[@data-nosnippet ]' '15'
4
+ //@ has foobar/fn.f.html '//span[@data-nosnippet ]' '21'
5
+ //@ !has foobar/fn.f.html '//span[@data-nosnippet ]' '22'
6
6
7
7
pub fn f ( ) { }
8
8
Original file line number Diff line number Diff line change 1
- // @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]//*[@class="prev"]' ''
2
- // @has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' ''
3
- // @has src/ex/ex.rs.html
4
- // @has foobar/fn.ok.html '//a[@href="../src/ex/ex.rs.html#2"]' ''
1
+ //@ has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' ''
2
+ //@ has src/ex/ex.rs.html
3
+ //@ has foobar/fn.ok.html '//a[@href="../src/ex/ex.rs.html#2"]' ''
5
4
6
5
pub fn ok ( ) { }
Original file line number Diff line number Diff line change 1
- // @ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' 'ex2'
2
- // @ has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' 'ex1'
3
- // @ has foobar/fn.ok.html '//*[@class="highlight focus"]' 'ok'
4
- // @ has foobar/fn.ok.html '//*[@class="highlight"]' 'ok'
1
+ //@ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' 'ex2'
2
+ //@ has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' 'ex1'
3
+ //@ has foobar/fn.ok.html '//*[@class="highlight focus"]' 'ok'
4
+ //@ has foobar/fn.ok.html '//*[@class="highlight"]' 'ok'
5
5
6
6
pub fn ok ( _x : i32 ) { }
Original file line number Diff line number Diff line change 1
- // @ has foobar/b/fn.foo.html '//*[@class="scraped-example expanded"]' 'ex.rs'
2
- // @ has foobar/c/fn.foo.html '//*[@class="scraped-example expanded"]' 'ex.rs'
1
+ //@ has foobar/b/fn.foo.html '//*[@class="scraped-example expanded"]' 'ex.rs'
2
+ //@ has foobar/c/fn.foo.html '//*[@class="scraped-example expanded"]' 'ex.rs'
3
3
4
4
#[ path = "a.rs" ]
5
5
pub mod b;
Original file line number Diff line number Diff line change 1
- // @ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' ''
1
+ //@ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' ''
2
2
3
3
pub fn ok ( ) { }
Original file line number Diff line number Diff line change 1
- // @ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]//code' ' '
1
+ //@ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]//code' ' '
2
2
3
3
pub fn ok ( ) { }
Original file line number Diff line number Diff line change 1
- // @ has test.css
2
- // @ has foo/struct.Foo.html
3
- // @ has - '//*[@name="rustdoc-vars"]/@data-themes' 'test'
1
+ //@ has test.css
2
+ //@ has foo/struct.Foo.html
3
+ //@ has - '//*[@name="rustdoc-vars"]/@data-themes' 'test'
4
4
pub struct Foo ;
Original file line number Diff line number Diff line change 1
- // @ has foobar/fn.ok.html
1
+ //@ has foobar/fn.ok.html
2
2
pub fn ok ( ) { }
Original file line number Diff line number Diff line change 1
- // @ has foobar/fn.ok.html
1
+ //@ has foobar/fn.ok.html
2
2
pub fn ok ( ) { }
Original file line number Diff line number Diff line change 1
- // @ has foobar/fn.ok.html
1
+ //@ has foobar/fn.ok.html
2
2
pub fn ok ( ) { }
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ //@ aux-crate:panic_item=panic-item.rs
2
+ //@ has unused_extern_crate/index.html
Original file line number Diff line number Diff line change 1
- // @ compile-flags: -Zlint-mir
1
+ //@ compile-flags: -Zlint-mir
2
2
//@ check-pass
3
3
4
4
#![ feature( inline_const_pat) ]
You can’t perform that action at this time.
0 commit comments