blob: f7546a05bfdb6480028273a1d98127340a88aa58 [file] [log] [blame]
//@ check-pass
pub fn main() {}
pub trait Iced {
fn get(&self) -> &impl Sized;
}
/// Impl causes ICE
impl Iced for () {
fn get(&self) -> &impl Sized {
&()
}
}