]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/use-unclosed-brace.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / 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() {}