summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/mismatched-braces/missing-close-brace-in-impl-trait.rs
blob: 79de98d8b8cd3534e09f5a92e5df4f2f03451ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {}

impl T for () {

fn foo(&self) {}

trait T {
    fn foo(&self);
}

pub(crate) struct Bar<T>();

//~ ERROR this file contains an unclosed delimiter