We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404978e commit 614bfbeCopy full SHA for 614bfbe
src/doc/rust.md
@@ -1928,6 +1928,8 @@ interpreted:
1928
1929
### Miscellaneous attributes
1930
1931
+- `export_name` - on statics and functions, this determines the name of the
1932
+ exported symbol.
1933
- `link_section` - on statics and functions, this specifies the section of the
1934
object file that this item's contents will be placed into.
1935
- `macro_export` - export a macro for cross-crate usage.
src/librustc/lint/builtin.rs
@@ -568,6 +568,7 @@ impl LintPass for UnusedAttribute {
568
// FIXME: #14406 these are processed in trans, which happens after the
569
// lint pass
570
"cold",
571
+ "export_name",
572
"inline",
573
"link",
574
"link_name",
0 commit comments