Skip to content

Commit b16e788

Browse files
authored
Unrolled build for rust-lang#132448
Rollup merge of rust-lang#132448 - chengehe:master, r=Noratrieb Add missing backtick
2 parents 705cfe0 + 5342eb0 commit b16e788

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)