Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
rustdoc-ui
/
lints
/
unused-braces-lint.rs
blob: fc5dcbf4d74a70ba561f74fd1d6789b4c1ab6e55 [
file
] [
log
] [
blame
]
//@ 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
;
}
}
}