]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/dropck-object-cycle.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / span / dropck-object-cycle.stderr
1 error[E0597]: `*m` does not live long enough
2   --> $DIR/dropck-object-cycle.rs:37:32
3    |
4 LL |     assert_eq!(object_invoke1(&*m), (4,5));
5    |                                ^^ borrowed value does not live long enough
6 ...
7 LL | }
8    | - `*m` dropped here while still borrowed
9    |
10    = note: values in a scope are dropped in the opposite order they are created
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0597`.