diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-17 22:50:14 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-18 07:47:44 +0100 |
| commit | 9d4b1b2db497102257c6f372f308492089d689b4 (patch) | |
| tree | cc7e6e5d5cdb7c521fc0da7f6f7448b31d3350ee /tests | |
| parent | 3fb7e441aecc3c054d71eb4d752d06e7776e8888 (diff) | |
| download | rust-9d4b1b2db497102257c6f372f308492089d689b4.tar.gz rust-9d4b1b2db497102257c6f372f308492089d689b4.zip | |
rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirect
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/consts/const-unstable-intrinsic.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-unstable-intrinsic.stderr b/tests/ui/consts/const-unstable-intrinsic.stderr index 8b61b0904a9..dfca04bef07 100644 --- a/tests/ui/consts/const-unstable-intrinsic.stderr +++ b/tests/ui/consts/const-unstable-intrinsic.stderr @@ -74,7 +74,7 @@ error: intrinsic `copy::copy` cannot be (indirectly) exposed to stable LL | unsafe { copy(src, dst, count) } | ^^^^^^^^^^^^^^^^^^^^^ | - = help: mark the caller as `#[rustc_const_unstable]`, or mark the intrinsic `#[rustc_const_stable_intrinsic]` (but this requires team approval) + = help: mark the caller as `#[rustc_const_unstable]`, or mark the intrinsic `#[rustc_intrinsic_const_stable_indirect]` (but this requires team approval) error: const function that might be (indirectly) exposed to stable cannot use `#[feature(local)]` --> $DIR/const-unstable-intrinsic.rs:61:9 |
