Skip to content

Commit e0b4c37

Browse files
committed
Add missing '\' for custom_derive error message
1 parent 90bed3f commit e0b4c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ impl<'a> Context<'a> {
394394
are reserved for internal compiler diagnostics");
395395
} else if name.starts_with("derive_") {
396396
self.gate_feature("custom_derive", attr.span,
397-
"attributes of the form `#[derive_*]` are reserved
397+
"attributes of the form `#[derive_*]` are reserved \
398398
for the compiler");
399399
} else {
400400
self.gate_feature("custom_attribute", attr.span,

0 commit comments

Comments
 (0)