blob: b6932deb5c0a684f7b97e263e8521f34789462d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
trait T {
fn foo(&self);
pub(crate) struct Bar<T>();
//~^ ERROR struct is not supported in `trait`s or `impl`s
impl T for Bar<usize> {
//~^ ERROR implementation is not supported in `trait`s or `impl`s
fn foo(&self) {}
}
fn main() {} //~ ERROR this file contains an unclosed delimiter
|