File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ #![ stable( feature = "bar" , since = "1.0" ) ]
2+ #![ crate_name = "foo" ]
3+
4+ #![ feature( staged_api) ]
5+
6+ // @has foo/trait.Bar.html
7+ // @has - '//div[@class="main-heading"]/*[@class="out-of-band"]' '1.0· source · '
8+ #[ stable( feature = "bar" , since = "1.0" ) ]
9+ pub trait Bar {
10+ // @has - '//div[@id="tymethod.foo"]/*[@class="rightside"]' '3.0 · source'
11+ #[ stable( feature = "foobar" , since = "3.0" ) ]
12+ fn foo ( ) ;
13+ }
14+
15+ // @has - '//div[@id="implementors-list"]//*[@class="rightside"]' '4.0 · source'
16+
17+ // @has foo/struct.Foo.html
18+ // @has - '//div[@class="main-heading"]/*[@class="out-of-band"]' '1.0· source · '
19+ #[ stable( feature = "baz" , since = "1.0" ) ]
20+ pub struct Foo ;
21+
22+ impl Foo {
23+ // @has - '//div[@id="method.foofoo"]/*[@class="rightside"]' '3.0 · source'
24+ #[ stable( feature = "foobar" , since = "3.0" ) ]
25+ pub fn foofoo ( ) { }
26+ }
27+
28+ #[ stable( feature = "yolo" , since = "4.0" ) ]
29+ impl Bar for Foo {
30+ fn foo ( ) { }
31+ }
You can’t perform that action at this time.
0 commit comments