Skip to content

Commit c0765b3

Browse files
authored
Rollup merge of rust-lang#132448 - chengehe:master, r=Noratrieb
Add missing backtick
2 parents 62a8997 + 5342eb0 commit c0765b3

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)