Files
rust/tests/ui/traits/next-solver/unsound-region-obligation.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
350 B
Plaintext
Raw Normal View History

error[E0477]: the type `&'a ()` does not fulfill the required lifetime
2025-02-05 18:32:06 +00:00
--> $DIR/unsound-region-obligation.rs:9:21
|
LL | type Item<'a> = &'a ();
| ^^^^^^
2024-01-26 19:18:14 +00:00
|
= note: type must satisfy the static lifetime
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0477`.