forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rust-lang#537 from ehuss/attribute-reorg-syntax
Reorg and update attributes
- Loading branch information
Showing
28 changed files
with
862 additions
and
564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script> | ||
(function() { | ||
var fragments = { | ||
"#cold-attribute": "codegen.html#the-cold-attribute", | ||
"#conditional-compilation": "conditional-compilation.html", | ||
"#deprecation": "diagnostics.html#the-deprecated-attribute", | ||
"#derive": "attributes/derive.html", | ||
"#documentation": "../rustdoc/the-doc-attribute.html", | ||
"#ffi-attributes": "attributes.html#built-in-attributes-index", | ||
"#inline-attribute": "codegen.html#the-inline-attribute", | ||
"#lint-check-attributes": "diagnostics.html#lint-check-attributes", | ||
"#macro-related-attributes": "attributes.html#built-in-attributes-index", | ||
"#miscellaneous-attributes": "attributes.html#built-in-attributes-index", | ||
"#must_use": "diagnostics.html#the-must_use-attribute", | ||
"#optimization-hints": "codegen.html#optimization-hints", | ||
"#path": "items/modules.html#the-path-attribute", | ||
"#preludes": "crates-and-source-files.html#preludes-and-no_std", | ||
"#testing": "testing.html", | ||
"#tool-lint-attributes": "diagnostics.html#tool-lint-attributes", | ||
"#crate-only-attributes": "attributes.html#built-in-attributes-index", | ||
}; | ||
var target = fragments[window.location.hash]; | ||
if (target) { | ||
var url = window.location.toString(); | ||
var base = url.substring(0, url.lastIndexOf('/')); | ||
window.location.replace(base + "/" + target); | ||
} | ||
})(); | ||
</script> |
Oops, something went wrong.