Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
rustdoc-ui
/
lints
/
unused-braces-lint.rs
blob: fc5dcbf4d74a70ba561f74fd1d6789b4c1ab6e55 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
;
}
}
}