-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These tests will fall without the next commit.
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// aux-build:realcore.rs | ||
|
||
#![crate_name = "real_gimli"] | ||
#![feature(staged_api, extremely_unstable)] | ||
#![unstable(feature = "rustc_private", issue = "none")] | ||
|
||
extern crate realcore; | ||
|
||
#[unstable(feature = "rustc_private", issue = "none")] | ||
pub struct EndianSlice; | ||
|
||
#[unstable(feature = "rustc_private", issue = "none")] | ||
impl realcore::Deref for EndianSlice {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#![crate_name = "realcore"] | ||
#![feature(staged_api)] | ||
#![unstable(feature = "extremely_unstable", issue = "none")] | ||
|
||
#[unstable(feature = "extremely_unstable_foo", issue = "none")] | ||
pub struct Foo {} | ||
|
||
#[unstable(feature = "extremely_unstable_foo", issue = "none")] | ||
pub trait Join {} | ||
|
||
#[unstable(feature = "extremely_unstable_foo", issue = "none")] | ||
impl Join for Foo {} | ||
|
||
#[stable(feature = "faked_deref", since = "1.47.0")] | ||
pub trait Deref {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// ignore-tidy-linelength | ||
// aux-build:realcore.rs | ||
// aux-build:real_gimli.rs | ||
|
||
// Ensure unstably exported traits have their Implementors sections. | ||
|
||
#![crate_name = "foo"] | ||
#![feature(extremely_unstable_foo)] | ||
|
||
extern crate realcore; | ||
extern crate real_gimli; | ||
|
||
// issue #74672 | ||
// @!has foo/trait.Deref.html '//*[@id="impl-Deref-for-EndianSlice"]//code' 'impl Deref for EndianSlice' | ||
pub use realcore::Deref; | ||
|
||
// @has foo/trait.Join.html '//*[@id="impl-Join-for-Foo"]//code' 'impl Join for Foo' | ||
pub use realcore::Join; |