mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
13 lines
180 B
Rust
13 lines
180 B
Rust
//@ known-bug: rust-lang/rust#127299
|
|
trait Qux {
|
|
fn bar() -> i32;
|
|
}
|
|
|
|
pub struct Lint {
|
|
pub desc: &'static Qux,
|
|
}
|
|
|
|
static FOO: &Lint = &Lint { desc: "desc" };
|
|
|
|
fn main() {}
|