2018-09-04 10:09:49 -05:00
|
|
|
struct S {
|
|
|
|
x: [usize; 3],
|
|
|
|
}
|
|
|
|
|
|
|
|
fn foo() {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
println!("hi");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2020-01-03 07:40:15 -06:00
|
|
|
//~^ NOTE unclosed delimiter
|
2018-09-04 10:09:49 -05:00
|
|
|
{
|
|
|
|
{
|
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
|
|
|
|
}
|
2020-01-03 07:40:15 -06:00
|
|
|
//~ ERROR this file contains an unclosed delimiter
|