]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/diagnostic_list.rs
rustc: Move some attr methods to queries
[rust.git] / src / libsyntax / diagnostic_list.rs
index 46dec73c9627d03e00303bc2cbc073fb2c2d652c..b29883670bdeae3dfb496fd7e7c92c31dd34e8c5 100644 (file)
@@ -219,29 +219,6 @@ struct MyStruct {
 Delete the offending feature attribute.
 "##,
 
-E0558: r##"
-The `export_name` attribute was malformed.
-
-Erroneous code example:
-
-```compile_fail,E0558
-#[export_name] // error: export_name attribute has invalid format
-pub fn something() {}
-
-fn main() {}
-```
-
-The `export_name` attribute expects a string in order to determine the name of
-the exported symbol. Example:
-
-```
-#[export_name = "some_function"] // ok!
-pub fn something() {}
-
-fn main() {}
-```
-"##,
-
 E0565: r##"
 A literal was used in an attribute that doesn't support literals.