blob: e061406858d2379d189d3dd334e0ce36de1233ad [file]
//@ dont-require-annotations: ERROR
//@ compile-flags: --crate-type lib -Z ui-testing=no
#![feature(rustc_attrs)]
#[rustc_dump_vtable]
type X = dyn Send;
#[rustc_dump_vtable]
type Y = dyn core::any::Any;
struct C;
#[rustc_dump_vtable]
impl Iterator for C {
type Item = ();
fn next(&mut self) -> Option<Self::Item> {
Some(())
}
}