diff options
| author | Veera <sveera.2001@gmail.com> | 2024-03-03 09:34:26 -0500 |
|---|---|---|
| committer | Veera <sveera.2001@gmail.com> | 2024-03-03 09:34:26 -0500 |
| commit | 9aac0c9ae39de7046af35788d19e5f9310e4cbb7 (patch) | |
| tree | 16d2ec7e507f479bb593151d8c9360f38d302831 /compiler/rustc_target/src/asm/avr.rs | |
| parent | d561a84d48b64dc0f23e0f0a152b72e5a8f62161 (diff) | |
| download | rust-9aac0c9ae39de7046af35788d19e5f9310e4cbb7.tar.gz rust-9aac0c9ae39de7046af35788d19e5f9310e4cbb7.zip | |
Mention Register Size in `#[warn(asm_sub_register)]`
Fixes #121593
Diffstat (limited to 'compiler/rustc_target/src/asm/avr.rs')
| -rw-r--r-- | compiler/rustc_target/src/asm/avr.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_target/src/asm/avr.rs b/compiler/rustc_target/src/asm/avr.rs index 9a96a61f5b2..eab38a4a4f4 100644 --- a/compiler/rustc_target/src/asm/avr.rs +++ b/compiler/rustc_target/src/asm/avr.rs @@ -1,4 +1,4 @@ -use super::{InlineAsmArch, InlineAsmType}; +use super::{InlineAsmArch, InlineAsmType, ModifierInfo}; use rustc_macros::HashStable_Generic; use rustc_span::Symbol; use std::fmt; @@ -29,11 +29,11 @@ impl AvrInlineAsmRegClass { self, _arch: InlineAsmArch, _ty: InlineAsmType, - ) -> Option<(char, &'static str)> { + ) -> Option<ModifierInfo> { None } - pub fn default_modifier(self, _arch: InlineAsmArch) -> Option<(char, &'static str)> { + pub fn default_modifier(self, _arch: InlineAsmArch) -> Option<ModifierInfo> { None } |
