mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Add missing backtick
This commit is contained in:
@@ -23,7 +23,7 @@ const fn foo() { [()][42] }
|
||||
13
|
||||
}
|
||||
|
||||
// We do not promote union field accesses in `fn.
|
||||
// We do not promote union field accesses in `fn`.
|
||||
union U { x: i32, y: i32 }
|
||||
pub const fn promote_union() {
|
||||
let _x: &'static i32 = &unsafe { U { x: 0 }.x }; //~ ERROR temporary value dropped while borrowed
|
||||
|
||||
Reference in New Issue
Block a user