about summary refs log tree commit diff
path: root/tests/ui/impl-trait/in-trait/gat-outlives.stderr
blob: 8ec4b0ab2ee565c621da570f6f66b36b89ae7a16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
error: missing required bound on `Gat`
  --> $DIR/gat-outlives.rs:6:5
   |
LL |     type Gat<'a>;
   |     ^^^^^^^^^^^^-
   |                 |
   |                 help: add the required where clause: `where Self: 'a`
   |
   = note: this bound is currently required to ensure that impls have maximum flexibility
   = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information

error: missing required bound on `Gat`
  --> $DIR/gat-outlives.rs:12:5
   |
LL |     type Gat<'a>;
   |     ^^^^^^^^^^^^-
   |                 |
   |                 help: add the required where clause: `where Self: 'a`
   |
   = note: this bound is currently required to ensure that impls have maximum flexibility
   = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information

error: aborting due to 2 previous errors