rust/tests/ui/parser/use-unclosed-brace.rs
2023-01-11 09:32:08 +00:00

13 lines
255 B
Rust

// 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() {}