rust/tests/crashes/100041.rs

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

18 lines
271 B
Rust
Raw Normal View History

//@ known-bug: #100041
pub trait WellUnformed {
type RequestNormalize;
}
impl<T: ?Sized> WellUnformed for T {
type RequestNormalize = ();
}
pub fn latent(_: &[<[[()]] as WellUnformed>::RequestNormalize; 0]) {}
pub fn bang() {
latent(&[]);
}
fn main() {}