rust/tests/crashes/127299.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
180 B
Rust
Raw Normal View History

2024-07-04 21:44:10 +00:00
//@ 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() {}