rust/tests/ui/attributes/multiple-invalid.rs
Jonathan Brouwer 4bb7bf64e0
Update uitests
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-08-14 18:18:42 +02:00

11 lines
267 B
Rust

// This test checks that all expected errors occur when there are multiple invalid attributes
// on an item.
#[inline]
//~^ ERROR attribute cannot be used on
#[target_feature(enable = "sse2")]
//~^ ERROR attribute cannot be used on
const FOO: u8 = 0;
fn main() { }