blob: 8d89905909e94f99743e992cf9e66d3e775f8035 [file] [log] [blame]
impl T for () { //~ ERROR cannot find trait `T` in this scope
fn foo(&self) {}
trait T { //~ ERROR expected one of
fn foo(&self);
}
pub(crate) struct Bar<T>();
fn main() {}
//~ ERROR this file contains an un-closed delimiter