diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-17 05:33:06 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-22 00:05:09 +0000 | 
| commit | 2a6daaf89a12dcb3467b057ec1a3d539623cd32c (patch) | |
| tree | 98d3d741fb70499c5564c45b4c7670d59ff60460 /compiler/rustc_hir/src/target.rs | |
| parent | 794c12416b2138064af1f2746646973fafd9419d (diff) | |
| download | rust-2a6daaf89a12dcb3467b057ec1a3d539623cd32c.tar.gz rust-2a6daaf89a12dcb3467b057ec1a3d539623cd32c.zip  | |
Make asm a named field
Diffstat (limited to 'compiler/rustc_hir/src/target.rs')
| -rw-r--r-- | compiler/rustc_hir/src/target.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/target.rs b/compiler/rustc_hir/src/target.rs index f3e8f059c9e..70e95a84e68 100644 --- a/compiler/rustc_hir/src/target.rs +++ b/compiler/rustc_hir/src/target.rs @@ -110,7 +110,7 @@ impl Target { ItemKind::Macro(..) => Target::MacroDef, ItemKind::Mod(..) => Target::Mod, ItemKind::ForeignMod { .. } => Target::ForeignMod, - ItemKind::GlobalAsm(..) => Target::GlobalAsm, + ItemKind::GlobalAsm { .. } => Target::GlobalAsm, ItemKind::TyAlias(..) => Target::TyAlias, ItemKind::Enum(..) => Target::Enum, ItemKind::Struct(..) => Target::Struct,  | 
