2019-10-25 20:30:02 -05:00
|
|
|
trait T {
|
2019-11-07 04:26:36 -06:00
|
|
|
//~^ ERROR `main` function not found in crate `missing_close_brace_in_trait`
|
2019-10-25 20:30:02 -05:00
|
|
|
fn foo(&self);
|
|
|
|
|
2019-11-07 04:26:36 -06:00
|
|
|
pub(crate) struct Bar<T>();
|
|
|
|
//~^ ERROR expected one of
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
impl T for Bar<usize> {
|
|
|
|
fn foo(&self) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {} //~ ERROR this file contains an un-closed delimiter
|