diff options
| author | Jane Losare-Lusby <jlusby@yaah.dev> | 2022-07-07 22:29:38 +0000 |
|---|---|---|
| committer | Jane Losare-Lusby <jlusby@yaah.dev> | 2022-07-08 21:18:16 +0000 |
| commit | e4e6b1ebc6e75b44f5543eb72964f3716b0b7d07 (patch) | |
| tree | 1690dd4d00919dcb861a943ef776d155410fa7cc /src/test/ui/stability-attribute | |
| parent | 87eafe82e88074fe6e850919a84f44c5e895b71b (diff) | |
| download | rust-e4e6b1ebc6e75b44f5543eb72964f3716b0b7d07.tar.gz rust-e4e6b1ebc6e75b44f5543eb72964f3716b0b7d07.zip | |
fixes post rebase
Diffstat (limited to 'src/test/ui/stability-attribute')
3 files changed, 1 insertions, 17 deletions
diff --git a/src/test/ui/stability-attribute/allow-through-unstable-misuse.rs b/src/test/ui/stability-attribute/allow-through-unstable-misuse.rs deleted file mode 100644 index 7f942309e04..00000000000 --- a/src/test/ui/stability-attribute/allow-through-unstable-misuse.rs +++ /dev/null @@ -1,8 +0,0 @@ -#![crate_type = "lib"] -#![feature(staged_api)] -#![feature(rustc_attrs)] -#![stable(feature = "foo", since = "1.0.0")] - -#[unstable(feature = "bar", issue = "none")] -#[rustc_allowed_through_unstable_modules] -pub struct UnstableType(()); diff --git a/src/test/ui/stability-attribute/allowed-through-unstable.stderr b/src/test/ui/stability-attribute/allowed-through-unstable.stderr index 70b1dc3010a..132c00b89b2 100644 --- a/src/test/ui/stability-attribute/allowed-through-unstable.stderr +++ b/src/test/ui/stability-attribute/allowed-through-unstable.stderr @@ -1,5 +1,5 @@ error[E0658]: use of unstable library feature 'unstable_test_feature' - --> $DIR/allowed-through-unstable.rs:10:5 + --> $DIR/allowed-through-unstable.rs:9:5 | LL | use allowed_through_unstable_core::unstable_module::NewStableTraitNotAllowedThroughUnstable; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/test/ui/stability-attribute/rustc-encodable-stability.rs b/src/test/ui/stability-attribute/rustc-encodable-stability.rs deleted file mode 100644 index 18eff27d9a5..00000000000 --- a/src/test/ui/stability-attribute/rustc-encodable-stability.rs +++ /dev/null @@ -1,8 +0,0 @@ -// edition:2018 -#![allow(deprecated)] -extern crate rustc_serialize; - -#[derive(RustcDecodable, RustcEncodable)] -struct ArbitraryTestType(()); - -fn main() {} |
