summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/use-unclosed-brace.rs
blob: 41742f37f3c501d68673697c51101efb4d32b324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// error-pattern: expected one of `,`, `::`, `as`, or `}`, found `;`
// error-pattern: this file contains an unclosed delimiter
// error-pattern: expected item, found `}`
use foo::{bar, baz;

use std::fmt::Display;

mod bar { }

mod baz { }

fn main() {}