Skip to content

Commit 4900836

Browse files
camelidJoshua Nelson
and
Joshua Nelson
committed
Fix bug
It needs to be a variable! Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent 4b3490f commit 4900836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_hir/src/lang_items.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ macro_rules! expand_group {
3838
// So you probably just want to nip down to the end.
3939
macro_rules! language_item_table {
4040
(
41-
$( $(#[attr:meta])* $variant:ident $($group:expr)?, $name:expr, $method:ident, $target:expr; )*
41+
$( $(#[$attr:meta])* $variant:ident $($group:expr)?, $name:expr, $method:ident, $target:expr; )*
4242
) => {
4343

4444
enum_from_u32! {
@@ -48,7 +48,7 @@ macro_rules! language_item_table {
4848
$(
4949
#[doc = concat!("The `", stringify!($name), "` lang item.")]
5050
///
51-
$(#[attr])*
51+
$(#[$attr])*
5252
$variant,
5353
)*
5454
}

0 commit comments

Comments
 (0)