diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2024-10-26 11:35:16 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2024-10-26 11:35:56 +0800 |
| commit | f2f67232a53b79b44c5b87fe5757ef1f18f4b590 (patch) | |
| tree | 2cac077576ff2ecdd0e4379c06e3190aaa6d35ed /tests/ui/issues | |
| parent | 54761cb3e819eb5ae94774fd292f9e58372b1a0c (diff) | |
| download | rust-f2f67232a53b79b44c5b87fe5757ef1f18f4b590.tar.gz rust-f2f67232a53b79b44c5b87fe5757ef1f18f4b590.zip | |
Deny calls to non-`#[const_trait]` methods in MIR constck
Diffstat (limited to 'tests/ui/issues')
| -rw-r--r-- | tests/ui/issues/issue-25901.stderr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/ui/issues/issue-25901.stderr b/tests/ui/issues/issue-25901.stderr index 3fedfd96417..bcbc805908f 100644 --- a/tests/ui/issues/issue-25901.stderr +++ b/tests/ui/issues/issue-25901.stderr @@ -17,10 +17,6 @@ LL | impl Deref for A { | ^^^^^^^^^^^^^^^^ = note: calls in statics are limited to constant functions, tuple structs and tuple variants = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` -help: add `#![feature(const_trait_impl)]` to the crate attributes to enable - | -LL + #![feature(const_trait_impl)] - | error: aborting due to 1 previous error |
