diff options
| author | Alex Macleod <alex@macleod.io> | 2022-01-06 14:50:46 +0000 |
|---|---|---|
| committer | Alex Macleod <alex@macleod.io> | 2022-01-06 14:59:33 +0000 |
| commit | 7ea03db04a38bd5bb8ad13ee805d94833aacf032 (patch) | |
| tree | a3ee65214a393efaa5070dc186444ac51a83a23b /library/alloc/src/macros.rs | |
| parent | f1ce0e6a00593493a12e0e3662119786c761f375 (diff) | |
| download | rust-7ea03db04a38bd5bb8ad13ee805d94833aacf032.tar.gz rust-7ea03db04a38bd5bb8ad13ee805d94833aacf032.zip | |
Add diagnostic items for macros
Diffstat (limited to 'library/alloc/src/macros.rs')
| -rw-r--r-- | library/alloc/src/macros.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/macros.rs b/library/alloc/src/macros.rs index 189da9f0639..d3e9e65c3fe 100644 --- a/library/alloc/src/macros.rs +++ b/library/alloc/src/macros.rs @@ -37,6 +37,7 @@ #[cfg(not(test))] #[macro_export] #[stable(feature = "rust1", since = "1.0.0")] +#[rustc_diagnostic_item = "vec_macro"] #[allow_internal_unstable(box_syntax, liballoc_internals)] macro_rules! vec { () => ( |
