Auto merge of #132145 - RalfJung:stdarch, r=Amanieu
bump stdarch This lets us remove a hack from https://github.com/rust-lang/rust/pull/131349. r? `@Amanieu` try-job: test-various
This commit is contained in:
commit
3f1be1ec7e
10 changed files with 28 additions and 14 deletions
|
@ -45,6 +45,7 @@ const fn unstable_fn() {}
|
|||
#[stable(feature = "stable_struct", since = "1.39.0")] // ok!
|
||||
struct Stable;
|
||||
|
||||
#[stable(feature = "stable_fn", since = "1.39.0")]
|
||||
#[rustc_const_stable(feature = "stable_fn", since = "1.39.0")] // ok!
|
||||
const fn stable_fn() {}
|
||||
```
|
||||
|
|
|
@ -30,6 +30,7 @@ To fix this issue, you need to provide the `since` field. Example:
|
|||
#[stable(feature = "_stable_fn", since = "1.0.0")] // ok!
|
||||
fn _stable_fn() {}
|
||||
|
||||
#[stable(feature = "_stable_const_fn", since = "1.0.0")]
|
||||
#[rustc_const_stable(feature = "_stable_const_fn", since = "1.0.0")] // ok!
|
||||
const fn _stable_const_fn() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue