Fix stable feature names in tests
This commit is contained in:
parent
350a6827a8
commit
7ade24e824
1 changed files with 2 additions and 2 deletions
|
@ -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() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue