]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/use-unclosed-brace.rs
Account for ADT bodies and struct expressions
[rust.git] / src / test / ui / parser / use-unclosed-brace.rs
1 // error-pattern: expected one of `,`, `::`, `as`, or `}`, found `;`
2 // error-pattern: this file contains an unclosed delimiter
3 // error-pattern: expected item, found `}`
4 use foo::{bar, baz;
5
6 use std::fmt::Display;
7
8 mod bar { }
9
10 mod baz { }
11
12 fn main() {}