diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-11-18 17:17:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-18 17:17:42 +0100 |
| commit | 86ba13ba2fa230fa970932529e5044ba77c090a3 (patch) | |
| tree | 4f1cde47bd838da98abe2073f82670c787c113b8 /tests | |
| parent | 1a0bc6131491848ee9be2f79586603e0488ad5d6 (diff) | |
| parent | b07ed6ab164bf58a0fcfe7a365d5341c0e7b7e7d (diff) | |
| download | rust-86ba13ba2fa230fa970932529e5044ba77c090a3.tar.gz rust-86ba13ba2fa230fa970932529e5044ba77c090a3.zip | |
Rollup merge of #133157 - RalfJung:skip_stability_check_due_to_privacy, r=compiler-errors
stability: remove skip_stability_check_due_to_privacy This was added in https://github.com/rust-lang/rust/pull/38689 to deal with https://github.com/rust-lang/rust/issues/38412. However, even after removing the check, the relevant tests still pass. Let's see if CI finds any other tests that rely on this. If not, it seems like logic elsewhere in the compiler changed so this is not required any more.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/auxiliary/pub-and-stability.rs | 4 | ||||
| -rw-r--r-- | tests/ui/explore-issue-38412.rs | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/auxiliary/pub-and-stability.rs b/tests/ui/auxiliary/pub-and-stability.rs index ee05a07dbb2..d2d07f99398 100644 --- a/tests/ui/auxiliary/pub-and-stability.rs +++ b/tests/ui/auxiliary/pub-and-stability.rs @@ -5,8 +5,8 @@ // The basic stability pattern in this file has four cases: // 1. no stability attribute at all // 2. a stable attribute (feature "unit_test") -// 3. an unstable attribute that unit test declares (feature "unstable_declared") -// 4. an unstable attribute that unit test fails to declare (feature "unstable_undeclared") +// 3. an unstable attribute that unit test enables (feature "unstable_declared") +// 4. an unstable attribute that unit test fails to enable (feature "unstable_undeclared") // // This file also covers four kinds of visibility: private, // pub(module), pub(crate), and pub. diff --git a/tests/ui/explore-issue-38412.rs b/tests/ui/explore-issue-38412.rs index e1295a96ba5..2008b120faa 100644 --- a/tests/ui/explore-issue-38412.rs +++ b/tests/ui/explore-issue-38412.rs @@ -1,9 +1,9 @@ //@ aux-build:pub-and-stability.rs -// A big point of this test is that we *declare* `unstable_declared`, -// but do *not* declare `unstable_undeclared`. This way we can check -// that the compiler is letting in uses of declared feature-gated -// stuff but still rejecting uses of undeclared feature-gated stuff. +// A big point of this test is that we *enable* `unstable_declared`, +// but do *not* enable `unstable_undeclared`. This way we can check +// that the compiler is letting in uses of enabled feature-gated +// stuff but still rejecting uses of disabled feature-gated stuff. #![feature(unstable_declared)] extern crate pub_and_stability; |
