diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/stability-attribute/accidental-stable-in-unstable.rs (renamed from src/test/ui/stability-attribute/accidental-stable-in-unstable.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/accidental-stable-in-unstable.stderr (renamed from src/test/ui/stability-attribute/accidental-stable-in-unstable.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/allow-unstable-reexport.rs (renamed from src/test/ui/stability-attribute/allow-unstable-reexport.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/allow-unstable-reexport.stderr (renamed from src/test/ui/stability-attribute/allow-unstable-reexport.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/allowed-through-unstable.rs (renamed from src/test/ui/stability-attribute/allowed-through-unstable.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/allowed-through-unstable.stderr (renamed from src/test/ui/stability-attribute/allowed-through-unstable.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/allowed-through-unstable-core.rs (renamed from src/test/ui/stability-attribute/auxiliary/allowed-through-unstable-core.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/ctor-stability.rs (renamed from src/test/ui/stability-attribute/auxiliary/ctor-stability.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/default_body.rs (renamed from src/test/ui/stability-attribute/auxiliary/default_body.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/lint-stability-reexport.rs (renamed from src/test/ui/stability-attribute/auxiliary/lint-stability-reexport.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/lint-stability.rs (renamed from src/test/ui/stability-attribute/auxiliary/lint-stability.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/stability-attribute-implies.rs (renamed from src/test/ui/stability-attribute/auxiliary/stability-attribute-implies.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/stability_attribute_issue.rs (renamed from src/test/ui/stability-attribute/auxiliary/stability_attribute_issue.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/stable-in-unstable-core.rs (renamed from src/test/ui/stability-attribute/auxiliary/stable-in-unstable-core.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs (renamed from src/test/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/auxiliary/unstable_generic_param.rs (renamed from src/test/ui/stability-attribute/auxiliary/unstable_generic_param.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/ctor-stability.rs (renamed from src/test/ui/stability-attribute/ctor-stability.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/default-body-stability-err.rs (renamed from src/test/ui/stability-attribute/default-body-stability-err.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/default-body-stability-err.stderr (renamed from src/test/ui/stability-attribute/default-body-stability-err.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/default-body-stability-ok-enables.rs (renamed from src/test/ui/stability-attribute/default-body-stability-ok-enables.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/default-body-stability-ok-impls.rs (renamed from src/test/ui/stability-attribute/default-body-stability-ok-impls.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/generics-default-stability-trait.rs (renamed from src/test/ui/stability-attribute/generics-default-stability-trait.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/generics-default-stability-trait.stderr (renamed from src/test/ui/stability-attribute/generics-default-stability-trait.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/generics-default-stability-where.rs (renamed from src/test/ui/stability-attribute/generics-default-stability-where.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/generics-default-stability-where.stderr (renamed from src/test/ui/stability-attribute/generics-default-stability-where.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/generics-default-stability.rs (renamed from src/test/ui/stability-attribute/generics-default-stability.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/generics-default-stability.stderr (renamed from src/test/ui/stability-attribute/generics-default-stability.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/issue-106589.rs | 10 | ||||
-rw-r--r-- | tests/ui/stability-attribute/issue-106589.stderr | 15 | ||||
-rw-r--r-- | tests/ui/stability-attribute/issue-28075.rs (renamed from src/test/ui/stability-attribute/issue-28075.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/issue-28075.stderr (renamed from src/test/ui/stability-attribute/issue-28075.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/issue-28388-3.rs (renamed from src/test/ui/stability-attribute/issue-28388-3.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/issue-28388-3.stderr (renamed from src/test/ui/stability-attribute/issue-28388-3.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/issue-99286-stable-intrinsics.rs (renamed from src/test/ui/stability-attribute/issue-99286-stable-intrinsics.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/missing-const-stability.rs (renamed from src/test/ui/stability-attribute/missing-const-stability.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/missing-const-stability.stderr (renamed from src/test/ui/stability-attribute/missing-const-stability.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/missing-stability-attr-at-top-level.rs (renamed from src/test/ui/stability-attribute/missing-stability-attr-at-top-level.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/missing-stability-attr-at-top-level.stderr (renamed from src/test/ui/stability-attribute/missing-stability-attr-at-top-level.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-missing.rs (renamed from src/test/ui/stability-attribute/stability-attribute-implies-missing.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-missing.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-implies-missing.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-no-feature.rs (renamed from src/test/ui/stability-attribute/stability-attribute-implies-no-feature.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-no-feature.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-implies-no-feature.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-using-stable.rs (renamed from src/test/ui/stability-attribute/stability-attribute-implies-using-stable.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-using-stable.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-implies-using-stable.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-using-unstable.rs (renamed from src/test/ui/stability-attribute/stability-attribute-implies-using-unstable.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-implies-using-unstable.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-implies-using-unstable.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-issue-43027.rs (renamed from src/test/ui/stability-attribute/stability-attribute-issue-43027.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-issue.rs (renamed from src/test/ui/stability-attribute/stability-attribute-issue.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-issue.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-issue.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs (renamed from src/test/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-non-staged-force-unstable.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-non-staged.rs (renamed from src/test/ui/stability-attribute/stability-attribute-non-staged.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-non-staged.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-non-staged.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity-2.rs (renamed from src/test/ui/stability-attribute/stability-attribute-sanity-2.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity-2.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-sanity-2.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity-3.rs (renamed from src/test/ui/stability-attribute/stability-attribute-sanity-3.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity-3.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-sanity-3.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity-4.rs (renamed from src/test/ui/stability-attribute/stability-attribute-sanity-4.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity-4.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-sanity-4.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity.rs (renamed from src/test/ui/stability-attribute/stability-attribute-sanity.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-sanity.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-sanity.stderr) | 2 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-trait-impl.rs (renamed from src/test/ui/stability-attribute/stability-attribute-trait-impl.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-attribute-trait-impl.stderr (renamed from src/test/ui/stability-attribute/stability-attribute-trait-impl.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-in-private-module.rs (renamed from src/test/ui/stability-attribute/stability-in-private-module.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stability-in-private-module.stderr (renamed from src/test/ui/stability-attribute/stability-in-private-module.stderr) | 3 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stable-in-unstable.rs (renamed from src/test/ui/stability-attribute/stable-in-unstable.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/stable-in-unstable.stderr (renamed from src/test/ui/stability-attribute/stable-in-unstable.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/suggest-vec-allocator-api.rs (renamed from src/test/ui/stability-attribute/suggest-vec-allocator-api.rs) | 0 | ||||
-rw-r--r-- | tests/ui/stability-attribute/suggest-vec-allocator-api.stderr (renamed from src/test/ui/stability-attribute/suggest-vec-allocator-api.stderr) | 0 |
69 files changed, 26 insertions, 4 deletions
diff --git a/src/test/ui/stability-attribute/accidental-stable-in-unstable.rs b/tests/ui/stability-attribute/accidental-stable-in-unstable.rs index f8bbe90cf..f8bbe90cf 100644 --- a/src/test/ui/stability-attribute/accidental-stable-in-unstable.rs +++ b/tests/ui/stability-attribute/accidental-stable-in-unstable.rs diff --git a/src/test/ui/stability-attribute/accidental-stable-in-unstable.stderr b/tests/ui/stability-attribute/accidental-stable-in-unstable.stderr index ff733822c..ff733822c 100644 --- a/src/test/ui/stability-attribute/accidental-stable-in-unstable.stderr +++ b/tests/ui/stability-attribute/accidental-stable-in-unstable.stderr diff --git a/src/test/ui/stability-attribute/allow-unstable-reexport.rs b/tests/ui/stability-attribute/allow-unstable-reexport.rs index 937913954..937913954 100644 --- a/src/test/ui/stability-attribute/allow-unstable-reexport.rs +++ b/tests/ui/stability-attribute/allow-unstable-reexport.rs diff --git a/src/test/ui/stability-attribute/allow-unstable-reexport.stderr b/tests/ui/stability-attribute/allow-unstable-reexport.stderr index a11da9dc8..a11da9dc8 100644 --- a/src/test/ui/stability-attribute/allow-unstable-reexport.stderr +++ b/tests/ui/stability-attribute/allow-unstable-reexport.stderr diff --git a/src/test/ui/stability-attribute/allowed-through-unstable.rs b/tests/ui/stability-attribute/allowed-through-unstable.rs index ff0228e4d..ff0228e4d 100644 --- a/src/test/ui/stability-attribute/allowed-through-unstable.rs +++ b/tests/ui/stability-attribute/allowed-through-unstable.rs diff --git a/src/test/ui/stability-attribute/allowed-through-unstable.stderr b/tests/ui/stability-attribute/allowed-through-unstable.stderr index 132c00b89..132c00b89 100644 --- a/src/test/ui/stability-attribute/allowed-through-unstable.stderr +++ b/tests/ui/stability-attribute/allowed-through-unstable.stderr diff --git a/src/test/ui/stability-attribute/auxiliary/allowed-through-unstable-core.rs b/tests/ui/stability-attribute/auxiliary/allowed-through-unstable-core.rs index b597009a3..b597009a3 100644 --- a/src/test/ui/stability-attribute/auxiliary/allowed-through-unstable-core.rs +++ b/tests/ui/stability-attribute/auxiliary/allowed-through-unstable-core.rs diff --git a/src/test/ui/stability-attribute/auxiliary/ctor-stability.rs b/tests/ui/stability-attribute/auxiliary/ctor-stability.rs index 74c6023d7..74c6023d7 100644 --- a/src/test/ui/stability-attribute/auxiliary/ctor-stability.rs +++ b/tests/ui/stability-attribute/auxiliary/ctor-stability.rs diff --git a/src/test/ui/stability-attribute/auxiliary/default_body.rs b/tests/ui/stability-attribute/auxiliary/default_body.rs index 3a177419d..3a177419d 100644 --- a/src/test/ui/stability-attribute/auxiliary/default_body.rs +++ b/tests/ui/stability-attribute/auxiliary/default_body.rs diff --git a/src/test/ui/stability-attribute/auxiliary/lint-stability-reexport.rs b/tests/ui/stability-attribute/auxiliary/lint-stability-reexport.rs index 9884731d5..9884731d5 100644 --- a/src/test/ui/stability-attribute/auxiliary/lint-stability-reexport.rs +++ b/tests/ui/stability-attribute/auxiliary/lint-stability-reexport.rs diff --git a/src/test/ui/stability-attribute/auxiliary/lint-stability.rs b/tests/ui/stability-attribute/auxiliary/lint-stability.rs index 99c29dcdd..99c29dcdd 100644 --- a/src/test/ui/stability-attribute/auxiliary/lint-stability.rs +++ b/tests/ui/stability-attribute/auxiliary/lint-stability.rs diff --git a/src/test/ui/stability-attribute/auxiliary/stability-attribute-implies.rs b/tests/ui/stability-attribute/auxiliary/stability-attribute-implies.rs index 468be1bc1..468be1bc1 100644 --- a/src/test/ui/stability-attribute/auxiliary/stability-attribute-implies.rs +++ b/tests/ui/stability-attribute/auxiliary/stability-attribute-implies.rs diff --git a/src/test/ui/stability-attribute/auxiliary/stability_attribute_issue.rs b/tests/ui/stability-attribute/auxiliary/stability_attribute_issue.rs index 4e5333289..4e5333289 100644 --- a/src/test/ui/stability-attribute/auxiliary/stability_attribute_issue.rs +++ b/tests/ui/stability-attribute/auxiliary/stability_attribute_issue.rs diff --git a/src/test/ui/stability-attribute/auxiliary/stable-in-unstable-core.rs b/tests/ui/stability-attribute/auxiliary/stable-in-unstable-core.rs index e45b00f99..e45b00f99 100644 --- a/src/test/ui/stability-attribute/auxiliary/stable-in-unstable-core.rs +++ b/tests/ui/stability-attribute/auxiliary/stable-in-unstable-core.rs diff --git a/src/test/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs b/tests/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs index 28ad8c28d..28ad8c28d 100644 --- a/src/test/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs +++ b/tests/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs diff --git a/src/test/ui/stability-attribute/auxiliary/unstable_generic_param.rs b/tests/ui/stability-attribute/auxiliary/unstable_generic_param.rs index 1d6a6bd4e..1d6a6bd4e 100644 --- a/src/test/ui/stability-attribute/auxiliary/unstable_generic_param.rs +++ b/tests/ui/stability-attribute/auxiliary/unstable_generic_param.rs diff --git a/src/test/ui/stability-attribute/ctor-stability.rs b/tests/ui/stability-attribute/ctor-stability.rs index fcab0cb10..fcab0cb10 100644 --- a/src/test/ui/stability-attribute/ctor-stability.rs +++ b/tests/ui/stability-attribute/ctor-stability.rs diff --git a/src/test/ui/stability-attribute/default-body-stability-err.rs b/tests/ui/stability-attribute/default-body-stability-err.rs index ecb281bcc..ecb281bcc 100644 --- a/src/test/ui/stability-attribute/default-body-stability-err.rs +++ b/tests/ui/stability-attribute/default-body-stability-err.rs diff --git a/src/test/ui/stability-attribute/default-body-stability-err.stderr b/tests/ui/stability-attribute/default-body-stability-err.stderr index ef666f30f..ef666f30f 100644 --- a/src/test/ui/stability-attribute/default-body-stability-err.stderr +++ b/tests/ui/stability-attribute/default-body-stability-err.stderr diff --git a/src/test/ui/stability-attribute/default-body-stability-ok-enables.rs b/tests/ui/stability-attribute/default-body-stability-ok-enables.rs index bdc7522f4..bdc7522f4 100644 --- a/src/test/ui/stability-attribute/default-body-stability-ok-enables.rs +++ b/tests/ui/stability-attribute/default-body-stability-ok-enables.rs diff --git a/src/test/ui/stability-attribute/default-body-stability-ok-impls.rs b/tests/ui/stability-attribute/default-body-stability-ok-impls.rs index e1f5c0170..e1f5c0170 100644 --- a/src/test/ui/stability-attribute/default-body-stability-ok-impls.rs +++ b/tests/ui/stability-attribute/default-body-stability-ok-impls.rs diff --git a/src/test/ui/stability-attribute/generics-default-stability-trait.rs b/tests/ui/stability-attribute/generics-default-stability-trait.rs index d436088e4..d436088e4 100644 --- a/src/test/ui/stability-attribute/generics-default-stability-trait.rs +++ b/tests/ui/stability-attribute/generics-default-stability-trait.rs diff --git a/src/test/ui/stability-attribute/generics-default-stability-trait.stderr b/tests/ui/stability-attribute/generics-default-stability-trait.stderr index 03e61b78e..03e61b78e 100644 --- a/src/test/ui/stability-attribute/generics-default-stability-trait.stderr +++ b/tests/ui/stability-attribute/generics-default-stability-trait.stderr diff --git a/src/test/ui/stability-attribute/generics-default-stability-where.rs b/tests/ui/stability-attribute/generics-default-stability-where.rs index 4afbca262..4afbca262 100644 --- a/src/test/ui/stability-attribute/generics-default-stability-where.rs +++ b/tests/ui/stability-attribute/generics-default-stability-where.rs diff --git a/src/test/ui/stability-attribute/generics-default-stability-where.stderr b/tests/ui/stability-attribute/generics-default-stability-where.stderr index 61253adc8..61253adc8 100644 --- a/src/test/ui/stability-attribute/generics-default-stability-where.stderr +++ b/tests/ui/stability-attribute/generics-default-stability-where.stderr diff --git a/src/test/ui/stability-attribute/generics-default-stability.rs b/tests/ui/stability-attribute/generics-default-stability.rs index 300cc34d6..300cc34d6 100644 --- a/src/test/ui/stability-attribute/generics-default-stability.rs +++ b/tests/ui/stability-attribute/generics-default-stability.rs diff --git a/src/test/ui/stability-attribute/generics-default-stability.stderr b/tests/ui/stability-attribute/generics-default-stability.stderr index e094a10c8..e094a10c8 100644 --- a/src/test/ui/stability-attribute/generics-default-stability.stderr +++ b/tests/ui/stability-attribute/generics-default-stability.stderr diff --git a/tests/ui/stability-attribute/issue-106589.rs b/tests/ui/stability-attribute/issue-106589.rs new file mode 100644 index 000000000..3cad9a3d2 --- /dev/null +++ b/tests/ui/stability-attribute/issue-106589.rs @@ -0,0 +1,10 @@ +// #![feature(staged_api)] // note: `staged_api` not enabled + +#![stable(feature = "foo", since = "1.0.0")] +//~^ ERROR stability attributes may not be used outside of the standard library + +#[unstable(feature = "foo", issue = "none")] +//~^ ERROR stability attributes may not be used outside of the standard library +fn foo_unstable() {} + +fn main() {} diff --git a/tests/ui/stability-attribute/issue-106589.stderr b/tests/ui/stability-attribute/issue-106589.stderr new file mode 100644 index 000000000..ccf3f7164 --- /dev/null +++ b/tests/ui/stability-attribute/issue-106589.stderr @@ -0,0 +1,15 @@ +error[E0734]: stability attributes may not be used outside of the standard library + --> $DIR/issue-106589.rs:6:1 + | +LL | #[unstable(feature = "foo", issue = "none")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error[E0734]: stability attributes may not be used outside of the standard library + --> $DIR/issue-106589.rs:3:1 + | +LL | #![stable(feature = "foo", since = "1.0.0")] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0734`. diff --git a/src/test/ui/stability-attribute/issue-28075.rs b/tests/ui/stability-attribute/issue-28075.rs index 6b4ea46f3..6b4ea46f3 100644 --- a/src/test/ui/stability-attribute/issue-28075.rs +++ b/tests/ui/stability-attribute/issue-28075.rs diff --git a/src/test/ui/stability-attribute/issue-28075.stderr b/tests/ui/stability-attribute/issue-28075.stderr index 7e53bb544..7e53bb544 100644 --- a/src/test/ui/stability-attribute/issue-28075.stderr +++ b/tests/ui/stability-attribute/issue-28075.stderr diff --git a/src/test/ui/stability-attribute/issue-28388-3.rs b/tests/ui/stability-attribute/issue-28388-3.rs index 7ba993501..7ba993501 100644 --- a/src/test/ui/stability-attribute/issue-28388-3.rs +++ b/tests/ui/stability-attribute/issue-28388-3.rs diff --git a/src/test/ui/stability-attribute/issue-28388-3.stderr b/tests/ui/stability-attribute/issue-28388-3.stderr index d2e46683b..d2e46683b 100644 --- a/src/test/ui/stability-attribute/issue-28388-3.stderr +++ b/tests/ui/stability-attribute/issue-28388-3.stderr diff --git a/src/test/ui/stability-attribute/issue-99286-stable-intrinsics.rs b/tests/ui/stability-attribute/issue-99286-stable-intrinsics.rs index b9eee9922..b9eee9922 100644 --- a/src/test/ui/stability-attribute/issue-99286-stable-intrinsics.rs +++ b/tests/ui/stability-attribute/issue-99286-stable-intrinsics.rs diff --git a/src/test/ui/stability-attribute/missing-const-stability.rs b/tests/ui/stability-attribute/missing-const-stability.rs index 6eff899bf..6eff899bf 100644 --- a/src/test/ui/stability-attribute/missing-const-stability.rs +++ b/tests/ui/stability-attribute/missing-const-stability.rs diff --git a/src/test/ui/stability-attribute/missing-const-stability.stderr b/tests/ui/stability-attribute/missing-const-stability.stderr index 4cfbe1528..4cfbe1528 100644 --- a/src/test/ui/stability-attribute/missing-const-stability.stderr +++ b/tests/ui/stability-attribute/missing-const-stability.stderr diff --git a/src/test/ui/stability-attribute/missing-stability-attr-at-top-level.rs b/tests/ui/stability-attribute/missing-stability-attr-at-top-level.rs index 38faa2469..38faa2469 100644 --- a/src/test/ui/stability-attribute/missing-stability-attr-at-top-level.rs +++ b/tests/ui/stability-attribute/missing-stability-attr-at-top-level.rs diff --git a/src/test/ui/stability-attribute/missing-stability-attr-at-top-level.stderr b/tests/ui/stability-attribute/missing-stability-attr-at-top-level.stderr index c7ade234d..c7ade234d 100644 --- a/src/test/ui/stability-attribute/missing-stability-attr-at-top-level.stderr +++ b/tests/ui/stability-attribute/missing-stability-attr-at-top-level.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-missing.rs b/tests/ui/stability-attribute/stability-attribute-implies-missing.rs index 613878536..613878536 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-missing.rs +++ b/tests/ui/stability-attribute/stability-attribute-implies-missing.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-missing.stderr b/tests/ui/stability-attribute/stability-attribute-implies-missing.stderr index ff1856f17..ff1856f17 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-missing.stderr +++ b/tests/ui/stability-attribute/stability-attribute-implies-missing.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-no-feature.rs b/tests/ui/stability-attribute/stability-attribute-implies-no-feature.rs index 947f9f73e..947f9f73e 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-no-feature.rs +++ b/tests/ui/stability-attribute/stability-attribute-implies-no-feature.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-no-feature.stderr b/tests/ui/stability-attribute/stability-attribute-implies-no-feature.stderr index c2331f676..c2331f676 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-no-feature.stderr +++ b/tests/ui/stability-attribute/stability-attribute-implies-no-feature.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-using-stable.rs b/tests/ui/stability-attribute/stability-attribute-implies-using-stable.rs index 1a2d8e271..1a2d8e271 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-using-stable.rs +++ b/tests/ui/stability-attribute/stability-attribute-implies-using-stable.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-using-stable.stderr b/tests/ui/stability-attribute/stability-attribute-implies-using-stable.stderr index c9b3f07cc..c9b3f07cc 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-using-stable.stderr +++ b/tests/ui/stability-attribute/stability-attribute-implies-using-stable.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-using-unstable.rs b/tests/ui/stability-attribute/stability-attribute-implies-using-unstable.rs index 3c73c5abf..3c73c5abf 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-using-unstable.rs +++ b/tests/ui/stability-attribute/stability-attribute-implies-using-unstable.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-implies-using-unstable.stderr b/tests/ui/stability-attribute/stability-attribute-implies-using-unstable.stderr index 9a5c7ef5a..9a5c7ef5a 100644 --- a/src/test/ui/stability-attribute/stability-attribute-implies-using-unstable.stderr +++ b/tests/ui/stability-attribute/stability-attribute-implies-using-unstable.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-issue-43027.rs b/tests/ui/stability-attribute/stability-attribute-issue-43027.rs index 3f4fdfd01..3f4fdfd01 100644 --- a/src/test/ui/stability-attribute/stability-attribute-issue-43027.rs +++ b/tests/ui/stability-attribute/stability-attribute-issue-43027.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-issue.rs b/tests/ui/stability-attribute/stability-attribute-issue.rs index cda1aff13..cda1aff13 100644 --- a/src/test/ui/stability-attribute/stability-attribute-issue.rs +++ b/tests/ui/stability-attribute/stability-attribute-issue.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-issue.stderr b/tests/ui/stability-attribute/stability-attribute-issue.stderr index df4aec7e5..df4aec7e5 100644 --- a/src/test/ui/stability-attribute/stability-attribute-issue.stderr +++ b/tests/ui/stability-attribute/stability-attribute-issue.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs b/tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs index f61acc8aa..f61acc8aa 100644 --- a/src/test/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs +++ b/tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-non-staged-force-unstable.stderr b/tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.stderr index 45d965ea0..45d965ea0 100644 --- a/src/test/ui/stability-attribute/stability-attribute-non-staged-force-unstable.stderr +++ b/tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-non-staged.rs b/tests/ui/stability-attribute/stability-attribute-non-staged.rs index 4015f2f97..4015f2f97 100644 --- a/src/test/ui/stability-attribute/stability-attribute-non-staged.rs +++ b/tests/ui/stability-attribute/stability-attribute-non-staged.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-non-staged.stderr b/tests/ui/stability-attribute/stability-attribute-non-staged.stderr index 391f3c274..391f3c274 100644 --- a/src/test/ui/stability-attribute/stability-attribute-non-staged.stderr +++ b/tests/ui/stability-attribute/stability-attribute-non-staged.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity-2.rs b/tests/ui/stability-attribute/stability-attribute-sanity-2.rs index de3ea4eac..de3ea4eac 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity-2.rs +++ b/tests/ui/stability-attribute/stability-attribute-sanity-2.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity-2.stderr b/tests/ui/stability-attribute/stability-attribute-sanity-2.stderr index 8dbcc6c97..8dbcc6c97 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity-2.stderr +++ b/tests/ui/stability-attribute/stability-attribute-sanity-2.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity-3.rs b/tests/ui/stability-attribute/stability-attribute-sanity-3.rs index 13ef3d3f5..13ef3d3f5 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity-3.rs +++ b/tests/ui/stability-attribute/stability-attribute-sanity-3.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity-3.stderr b/tests/ui/stability-attribute/stability-attribute-sanity-3.stderr index b1c56ef22..b1c56ef22 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity-3.stderr +++ b/tests/ui/stability-attribute/stability-attribute-sanity-3.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity-4.rs b/tests/ui/stability-attribute/stability-attribute-sanity-4.rs index 64f996352..64f996352 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity-4.rs +++ b/tests/ui/stability-attribute/stability-attribute-sanity-4.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity-4.stderr b/tests/ui/stability-attribute/stability-attribute-sanity-4.stderr index a76f5be1e..a76f5be1e 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity-4.stderr +++ b/tests/ui/stability-attribute/stability-attribute-sanity-4.stderr diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity.rs b/tests/ui/stability-attribute/stability-attribute-sanity.rs index cc30e6ab9..cc30e6ab9 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity.rs +++ b/tests/ui/stability-attribute/stability-attribute-sanity.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-sanity.stderr b/tests/ui/stability-attribute/stability-attribute-sanity.stderr index 079230b2a..89a8425f5 100644 --- a/src/test/ui/stability-attribute/stability-attribute-sanity.stderr +++ b/tests/ui/stability-attribute/stability-attribute-sanity.stderr @@ -132,5 +132,5 @@ LL | #[stable(feature = "a", since = "1.0.0")] error: aborting due to 20 previous errors -Some errors have detailed explanations: E0539, E0541, E0542, E0543, E0544, E0546, E0547, E0549. +Some errors have detailed explanations: E0539, E0541, E0542, E0543, E0544, E0546, E0547, E0549, E0711. For more information about an error, try `rustc --explain E0539`. diff --git a/src/test/ui/stability-attribute/stability-attribute-trait-impl.rs b/tests/ui/stability-attribute/stability-attribute-trait-impl.rs index 0c771ae87..0c771ae87 100644 --- a/src/test/ui/stability-attribute/stability-attribute-trait-impl.rs +++ b/tests/ui/stability-attribute/stability-attribute-trait-impl.rs diff --git a/src/test/ui/stability-attribute/stability-attribute-trait-impl.stderr b/tests/ui/stability-attribute/stability-attribute-trait-impl.stderr index b91a1d2e1..b91a1d2e1 100644 --- a/src/test/ui/stability-attribute/stability-attribute-trait-impl.stderr +++ b/tests/ui/stability-attribute/stability-attribute-trait-impl.stderr diff --git a/src/test/ui/stability-attribute/stability-in-private-module.rs b/tests/ui/stability-attribute/stability-in-private-module.rs index f12e9198b..f12e9198b 100644 --- a/src/test/ui/stability-attribute/stability-in-private-module.rs +++ b/tests/ui/stability-attribute/stability-in-private-module.rs diff --git a/src/test/ui/stability-attribute/stability-in-private-module.stderr b/tests/ui/stability-attribute/stability-in-private-module.stderr index e64f2acbd..2f02a2496 100644 --- a/src/test/ui/stability-attribute/stability-in-private-module.stderr +++ b/tests/ui/stability-attribute/stability-in-private-module.stderr @@ -6,9 +6,6 @@ LL | let _ = std::thread::thread_info::current_thread(); | note: the module `thread_info` is defined here --> $SRC_DIR/std/src/thread/mod.rs:LL:COL - | -LL | use crate::sys_common::thread_info; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error diff --git a/src/test/ui/stability-attribute/stable-in-unstable.rs b/tests/ui/stability-attribute/stable-in-unstable.rs index 226367c39..226367c39 100644 --- a/src/test/ui/stability-attribute/stable-in-unstable.rs +++ b/tests/ui/stability-attribute/stable-in-unstable.rs diff --git a/src/test/ui/stability-attribute/stable-in-unstable.stderr b/tests/ui/stability-attribute/stable-in-unstable.stderr index b5e3e5f12..b5e3e5f12 100644 --- a/src/test/ui/stability-attribute/stable-in-unstable.stderr +++ b/tests/ui/stability-attribute/stable-in-unstable.stderr diff --git a/src/test/ui/stability-attribute/suggest-vec-allocator-api.rs b/tests/ui/stability-attribute/suggest-vec-allocator-api.rs index fac52ab77..fac52ab77 100644 --- a/src/test/ui/stability-attribute/suggest-vec-allocator-api.rs +++ b/tests/ui/stability-attribute/suggest-vec-allocator-api.rs diff --git a/src/test/ui/stability-attribute/suggest-vec-allocator-api.stderr b/tests/ui/stability-attribute/suggest-vec-allocator-api.stderr index 41e5787b8..41e5787b8 100644 --- a/src/test/ui/stability-attribute/suggest-vec-allocator-api.stderr +++ b/tests/ui/stability-attribute/suggest-vec-allocator-api.stderr |