]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-86787.stderr
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / ui / generic-associated-types / issue-86787.stderr
1 error: missing required bound on `TRef`
2   --> $DIR/issue-86787.rs:11:5
3    |
4 LL |     type TRef<'a>;
5    |     ^^^^^^^^^^^^^-
6    |                  |
7    |                  help: add the required where clause: `where Self: 'a`
8    |
9    = note: this bound is currently required to ensure that impls have maximum flexibility
10    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
11
12 error: aborting due to previous error
13