mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
22a5125a36
Most tests involving save-analysis were removed, but I kept a few where the `-Zsave-analysis` was an add-on to the main thing being tested, rather than the main thing being tested. For `x.py install`, the `rust-analysis` target has been removed. For `x.py dist`, the `rust-analysis` target has been kept in a degenerate form: it just produces a single file `reduced.json` indicating that save-analysis has been removed. This is necessary for rustup to keep working. Closes #43606.
12 lines
471 B
Text
12 lines
471 B
Text
error[E0658]: a non-static lifetime is not allowed in a `const`
|
|
--> $DIR/const-argument-non-static-lifetime.rs:14:17
|
|
|
|
|
LL | let _: &'a ();
|
|
| ^^
|
|
|
|
|
= note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
|
|
= help: add `#![feature(generic_const_exprs)]` to the crate attributes to enable
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|