提交 e0b4c379 编写于 作者: L Luke Gallagher

Add missing '\' for `custom_derive` error message

上级 90bed3f9
......@@ -394,7 +394,7 @@ fn check_attribute(&self, attr: &ast::Attribute) {
are reserved for internal compiler diagnostics");
} else if name.starts_with("derive_") {
self.gate_feature("custom_derive", attr.span,
"attributes of the form `#[derive_*]` are reserved
"attributes of the form `#[derive_*]` are reserved \
for the compiler");
} else {
self.gate_feature("custom_attribute", attr.span,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册