2018-09-04 10:09:49 -05:00
|
|
|
struct S {
|
|
|
|
x: [usize; 3],
|
|
|
|
}
|
|
|
|
|
|
|
|
fn foo() {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
println!("hi");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
//~^ NOTE un-closed delimiter
|
|
|
|
{
|
|
|
|
{
|
2018-09-05 09:33:29 -05:00
|
|
|
//~^ NOTE this delimiter might not be properly closed...
|
2018-09-04 10:09:49 -05:00
|
|
|
foo();
|
|
|
|
}
|
|
|
|
//~^ NOTE ...as it matches this but it has different indentation
|
|
|
|
}
|
|
|
|
//~ ERROR this file contains an un-closed delimiter
|