diff options
| author | David Tolnay <dtolnay@gmail.com> | 2023-10-15 12:53:37 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2023-10-23 13:03:11 -0700 |
| commit | 7ade24e82485568a28098254a7430a9bf73a78cd (patch) | |
| tree | 5c0075d6b16d8770e1a7d443b23bd2b02532c8dc | |
| parent | 350a6827a87b4c924120b58a3853545376f2a48b (diff) | |
Fix stable feature names in tests
| -rw-r--r-- | tests/ui/missing_const_for_fn/auxiliary/helper.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/missing_const_for_fn/auxiliary/helper.rs b/tests/ui/missing_const_for_fn/auxiliary/helper.rs index 7b9dc76b8f1..775e071147c 100644 --- a/tests/ui/missing_const_for_fn/auxiliary/helper.rs +++ b/tests/ui/missing_const_for_fn/auxiliary/helper.rs @@ -1,8 +1,8 @@ // This file provides a const function that is unstably const forever. #![feature(staged_api)] -#![stable(feature = "1", since = "1.0.0")] +#![stable(feature = "clippytest", since = "1.0.0")] -#[stable(feature = "1", since = "1.0.0")] +#[stable(feature = "clippytest", since = "1.0.0")] #[rustc_const_unstable(feature = "foo", issue = "none")] pub const fn unstably_const_fn() {} |
