]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-17954.stderr
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / ui / issues / issue-17954.stderr
1 error[E0712]: thread-local variable borrowed past end of function
2   --> $DIR/issue-17954.rs:7:13
3    |
4 LL |     let a = &FOO;
5    |             ^^^^ thread-local variables cannot be borrowed beyond the end of the function
6 ...
7 LL | }
8    | - end of enclosing function is here
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0712`.