diff options
Diffstat (limited to 'tests/testsuite/mock-std/library/std/src/lib.rs')
-rw-r--r-- | tests/testsuite/mock-std/library/std/src/lib.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testsuite/mock-std/library/std/src/lib.rs b/tests/testsuite/mock-std/library/std/src/lib.rs new file mode 100644 index 0000000..146d4c4 --- /dev/null +++ b/tests/testsuite/mock-std/library/std/src/lib.rs @@ -0,0 +1,12 @@ +#![feature(staged_api)] +#![stable(since = "1.0.0", feature = "dummy")] + +#[stable(since = "1.0.0", feature = "dummy")] +pub use std::*; + +#[stable(since = "1.0.0", feature = "dummy")] +pub fn custom_api() {} + +#[cfg(feature = "feature1")] +#[stable(since = "1.0.0", feature = "dummy")] +pub fn conditional_function() {} |