blob: df03150e29acbfe6e005287afb7783612a410706 [file] [log] [blame] [edit]
//@ revisions: current next
//@[next] compile-flags: -Znext-solver
//@ ignore-compare-mode-next-solver (explicit revisions)
//@ check-pass
pub fn main() {}
pub trait Iced {
fn get(&self) -> &impl Sized;
}
/// Impl causes ICE
impl Iced for () {
fn get(&self) -> &impl Sized {
&()
}
}