File tree 3 files changed +46
-0
lines changed
3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ // aux-build:realcore.rs
2
+
3
+ #![ crate_name = "real_gimli" ]
4
+ #![ feature( staged_api, extremely_unstable) ]
5
+ #![ unstable( feature = "rustc_private" , issue = "none" ) ]
6
+
7
+ extern crate realcore;
8
+
9
+ #[ unstable( feature = "rustc_private" , issue = "none" ) ]
10
+ pub struct EndianSlice ;
11
+
12
+ #[ unstable( feature = "rustc_private" , issue = "none" ) ]
13
+ impl realcore:: Deref for EndianSlice { }
Original file line number Diff line number Diff line change
1
+ #![ crate_name = "realcore" ]
2
+ #![ feature( staged_api) ]
3
+ #![ unstable( feature = "extremely_unstable" , issue = "none" ) ]
4
+
5
+ #[ unstable( feature = "extremely_unstable_foo" , issue = "none" ) ]
6
+ pub struct Foo { }
7
+
8
+ #[ unstable( feature = "extremely_unstable_foo" , issue = "none" ) ]
9
+ pub trait Join { }
10
+
11
+ #[ unstable( feature = "extremely_unstable_foo" , issue = "none" ) ]
12
+ impl Join for Foo { }
13
+
14
+ #[ stable( feature = "faked_deref" , since = "1.47.0" ) ]
15
+ pub trait Deref { }
Original file line number Diff line number Diff line change
1
+ // ignore-tidy-linelength
2
+ // aux-build:realcore.rs
3
+ // aux-build:real_gimli.rs
4
+
5
+ // Ensure unstably exported traits have their Implementors sections.
6
+
7
+ #![ crate_name = "foo" ]
8
+ #![ feature( extremely_unstable_foo) ]
9
+
10
+ extern crate realcore;
11
+ extern crate real_gimli;
12
+
13
+ // issue #74672
14
+ // @!has foo/trait.Deref.html '//*[@id="impl-Deref-for-EndianSlice"]//code' 'impl Deref for EndianSlice'
15
+ pub use realcore:: Deref ;
16
+
17
+ // @has foo/trait.Join.html '//*[@id="impl-Join-for-Foo"]//code' 'impl Join for Foo'
18
+ pub use realcore:: Join ;
You can’t perform that action at this time.
0 commit comments