Skip to content

Commit 5342eb0

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/ui/consts/promote-not.rs‎

Lines changed: 1 addition & 1 deletion
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
unionU{x:i32,y:i32}
2828
pubconstfnpromote_union(){
2929
let _x:&'statici32 = &unsafe{U{x:0}.x};//~ ERROR temporary value dropped while borrowed

0 commit comments

Comments
 (0)