File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1+ // check-pass
2+
3+ #![ crate_type = "lib" ]
4+ #![ deny( invalid_doc_attributes) ]
5+ #![ doc( test( no_crate_inject) ) ]
6+ #![ doc( test( attr( deny( warnings) ) ) ) ]
7+
8+ pub fn foo ( ) { }
Original file line number Diff line number Diff line change 1010#![ doc( test( a) ) ]
1111//~^ ERROR unknown `doc(test)` attribute `a`
1212//~^^ WARN this was previously accepted by the compiler
13- #![ doc( test( no_crate_inject) ) ]
14- #![ doc( test( attr( deny( warnings) ) ) ) ]
1513
1614pub fn foo ( ) { }
Original file line number Diff line number Diff line change 1+ // check-pass
2+
3+ #![ crate_type = "lib" ]
4+ #![ deny( invalid_doc_attributes) ]
5+ #![ doc( test( no_crate_inject) ) ]
6+ #![ doc( test( attr( deny( warnings) ) ) ) ]
7+ #![ doc( test( ) ) ]
8+
9+ pub fn foo ( ) { }
Original file line number Diff line number Diff line change 1010#![ doc( test( a) ) ]
1111//~^ ERROR unknown `doc(test)` attribute `a`
1212//~^^ WARN this was previously accepted by the compiler
13- #![ doc( test( no_crate_inject) ) ]
14- #![ doc( test( attr( deny( warnings) ) ) ) ]
1513
1614pub fn foo ( ) { }
You can’t perform that action at this time.
0 commit comments