]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/bugs/hrtb-implied-1.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / generic-associated-types / bugs / hrtb-implied-1.stderr
CommitLineData
f2b60f7d
FG
1error[E0716]: temporary value dropped while borrowed
2 --> $DIR/hrtb-implied-1.rs:31:22
3 |
4LL | let slice = &mut ();
487cf647 5 | ^^ creates a temporary value which is freed while still in use
f2b60f7d
FG
6...
7LL | print_items::<WindowsMut<'_>>(windows);
8 | -------------------------------------- argument requires that borrow lasts for `'static`
9LL | }
10 | - temporary value is freed at the end of this statement
11 |
12note: due to current limitations in the borrow checker, this implies a `'static` lifetime
13 --> $DIR/hrtb-implied-1.rs:26:26
14 |
15LL | for<'a> I::Item<'a>: Debug,
16 | ^^^^^
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0716`.