summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/mismatched-braces/missing-close-brace-in-trait.rs
blob: a05d6aa8edc127e0fe5e67ccf926541a80e36b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
trait T {
    fn foo(&self);

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

impl T for Bar<usize> {

fn foo(&self) {}
}

fn main() {} //~ ERROR this file contains an unclosed delimiter