mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
4bb7bf64e0
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
15 lines
217 B
Rust
15 lines
217 B
Rust
// Regression test for https://github.com/rust-lang/rust/issues/138510
|
|
|
|
#![feature(where_clause_attrs)]
|
|
#![deny(unused_attributes)]
|
|
|
|
fn main() {
|
|
}
|
|
|
|
fn test() where
|
|
#[repr()]
|
|
//~^ ERROR unused attribute
|
|
(): Sized {
|
|
|
|
}
|