mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
23 lines
376 B
Rust
23 lines
376 B
Rust
struct S {
|
|
x: [usize; 3],
|
|
}
|
|
|
|
fn foo() {
|
|
{
|
|
{
|
|
println!("hi");
|
|
}
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
//~^ NOTE unclosed delimiter
|
|
{
|
|
{
|
|
//~^ NOTE this delimiter might not be properly closed...
|
|
foo();
|
|
}
|
|
//~^ NOTE ...as it matches this but it has different indentation
|
|
}
|
|
//~ ERROR this file contains an unclosed delimiter
|