diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /src/doc/reference/src/attributes-redirect.html | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/doc/reference/src/attributes-redirect.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/doc/reference/src/attributes-redirect.html b/src/doc/reference/src/attributes-redirect.html new file mode 100644 index 000000000..a0548cc49 --- /dev/null +++ b/src/doc/reference/src/attributes-redirect.html @@ -0,0 +1,29 @@ +<script> +(function() { + var fragments = { + "#cold-attribute": "attributes/codegen.html#the-cold-attribute", + "#conditional-compilation": "conditional-compilation.html", + "#deprecation": "attributes/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": "attributes/codegen.html#the-inline-attribute", + "#lint-check-attributes": "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": "attributes/diagnostics.html#the-must_use-attribute", + "#optimization-hints": "attributes/codegen.html#optimization-hints", + "#path": "items/modules.html#the-path-attribute", + "#preludes": "crates-and-source-files.html#preludes-and-no_std", + "#testing": "attributes/testing.html", + "#tool-lint-attributes": "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> |