mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Move issue-52049 to tests/ui/borrowck
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
error[E0716]: temporary value dropped while borrowed
|
||||
--> $DIR/issue-52049.rs:6:10
|
||||
--> $DIR/non-promotable-static-ref.rs:6:10
|
||||
|
|
||||
LL | foo(&unpromotable(5u32));
|
||||
| -----^^^^^^^^^^^^^^^^^^-- temporary value is freed at the end of this statement
|
||||
Reference in New Issue
Block a user