diff options
author | Jonas Schievink <[email protected]> | 2020-12-11 18:12:06 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-12-11 18:12:06 +0000 |
commit | 00c34b048e5e1025f968dc10735d32b77a31e2f5 (patch) | |
tree | 826cf37e65c91ef001216db87b73d3043665aad4 /crates/hir_def | |
parent | 3674e494ca5213633b85b3a65823f31742e0638b (diff) |
Add upstream commit to builtin_attr.rs
Diffstat (limited to 'crates/hir_def')
-rw-r--r-- | crates/hir_def/src/builtin_attr.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir_def/src/builtin_attr.rs b/crates/hir_def/src/builtin_attr.rs index a02bf01cd..2e989c504 100644 --- a/crates/hir_def/src/builtin_attr.rs +++ b/crates/hir_def/src/builtin_attr.rs | |||
@@ -2,6 +2,8 @@ | |||
2 | //! | 2 | //! |
3 | //! The actual definitions were copied from rustc's `compiler/rustc_feature/src/builtin_attrs.rs`. | 3 | //! The actual definitions were copied from rustc's `compiler/rustc_feature/src/builtin_attrs.rs`. |
4 | //! | 4 | //! |
5 | //! It was last synchronized with upstream commit 2225ee1b62ff089917434aefd9b2bf509cfa087f. | ||
6 | //! | ||
5 | //! The macros were adjusted to only expand to the attribute name, since that is all we need to do | 7 | //! The macros were adjusted to only expand to the attribute name, since that is all we need to do |
6 | //! name resolution, and `BUILTIN_ATTRIBUTES` is almost entirely unchanged from the original, to | 8 | //! name resolution, and `BUILTIN_ATTRIBUTES` is almost entirely unchanged from the original, to |
7 | //! ease updating. | 9 | //! ease updating. |