未验证 提交 485f1999 编写于 作者: F flip1995

Add rustdoc regression test for the unused_braces lint

上级 e42337b6
// 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;
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册