blob: 0fe786643d033919cbfa452c3219a1291255c750 [file]
#![feature(no_core)]
#![feature(lang_items)]
#![no_core]
#[lang = "sized"]
trait Sized {}
trait LendingIter {
type Item<'a>;
}
struct Foo; // { dg-warning "struct is never constructed" }
impl LendingIter for Foo {
type Item<'a> = &'a i32;
}
fn main() {}