Skip to content

Commit 01192eb

Browse files
committed
use raw string literal
1 parent 6a72924 commit 01192eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_passes/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,6 @@ pub(crate) struct UnknownFormatParameterForOnUnimplementedAttr {
14561456
pub argument_name: Symbol,
14571457
pub trait_name: Ident,
14581458
// `false` if we're in rustc_on_unimplemented, since its syntax is a lot more complex.
1459-
#[help("expect either a generic argument name or {\"`{Self}`\"} as format argument")]
1459+
#[help(r#"expect either a generic argument name or {"`{Self}`"} as format argument"#)]
14601460
pub help: bool,
14611461
}

0 commit comments

Comments
 (0)