rust/tests/ui/parser/use-unclosed-brace.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
255 B
Rust
Raw Normal View History

// error-pattern: expected one of `,`, `::`, `as`, or `}`, found `;`
// error-pattern: this file contains an unclosed delimiter
// error-pattern: expected item, found `}`
2021-04-08 20:35:04 -05:00
use foo::{bar, baz;
use std::fmt::Display;
mod bar { }
mod baz { }
fn main() {}