Skip to content

Commit 5342eb0

Browse files
authored
Add missing backtick
1 parent 9fa9ef3 commit 5342eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/consts/promote-not.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub const fn promote_cal(b: bool) -> i32 {
2323
13
2424
}
2525

26-
// We do not promote union field accesses in `fn.
26+
// We do not promote union field accesses in `fn`.
2727
union U { x: i32, y: i32 }
2828
pub const fn promote_union() {
2929
let _x: &'static i32 = &unsafe { U { x: 0 }.x }; //~ ERROR temporary value dropped while borrowed

0 commit comments

Comments
 (0)