File tree 4 files changed +17
-4
lines changed
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 10
10
#![ doc( test( a) ) ]
11
11
//~^ ERROR unknown `doc(test)` attribute `a`
12
12
//~^^ WARN this was previously accepted by the compiler
13
- #![ doc( test( no_crate_inject) ) ]
14
- #![ doc( test( attr( deny( warnings) ) ) ) ]
15
13
16
14
pub 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 10
10
#![ doc( test( a) ) ]
11
11
//~^ ERROR unknown `doc(test)` attribute `a`
12
12
//~^^ WARN this was previously accepted by the compiler
13
- #![ doc( test( no_crate_inject) ) ]
14
- #![ doc( test( attr( deny( warnings) ) ) ) ]
15
13
16
14
pub fn foo ( ) { }
You can’t perform that action at this time.
0 commit comments