mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +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() {}
|