2019-10-28 17:44:20 -07:00
|
|
|
impl T for () { //~ ERROR cannot find trait `T` in this scope
|
2019-10-25 18:30:02 -07:00
|
|
|
|
|
|
|
|
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
|