mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
15 lines
231 B
Rust
15 lines
231 B
Rust
// check-pass
|
|
|
|
// This tests the bug in #70814, where the unused_braces lint triggered on the following code
|
|
// without providing a span.
|
|
|
|
#![deny(unused_braces)]
|
|
|
|
fn main() {
|
|
{
|
|
{
|
|
use std;
|
|
}
|
|
}
|
|
}
|