]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-26656.stderr
Auto merge of #55780 - ogoffart:span_source_text, r=petrochenkov
[rust.git] / src / test / ui / span / issue-26656.stderr
1 error[E0597]: `ticking` does not live long enough
2   --> $DIR/issue-26656.rs:40:36
3    |
4 LL |     zook.button = B::BigRedButton(&ticking);
5    |                                    ^^^^^^^ borrowed value does not live long enough
6 LL | }
7    | - `ticking` dropped here while still borrowed
8    |
9    = note: values in a scope are dropped in the opposite order they are created
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0597`.