File tree 4 files changed +3
-4
lines changed
4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
- #[ doc( include = "panic.md" ) ]
1
+ #[ doc = include_str ! ( "panic.md" ) ]
2
2
#[ macro_export]
3
3
#[ rustc_builtin_macro = "core_panic" ]
4
4
#[ allow_internal_unstable( edition_panic) ]
Original file line number Diff line number Diff line change 264
264
#![ feature( exhaustive_patterns) ]
265
265
#![ feature( extend_one) ]
266
266
#![ feature( extended_key_value_attributes) ]
267
- #![ feature( external_doc) ]
268
267
#![ feature( fn_traits) ]
269
268
#![ feature( format_args_nl) ]
270
269
#![ feature( gen_future) ]
Original file line number Diff line number Diff line change 4
4
//! library. Each macro is available for use when linking against the standard
5
5
//! library.
6
6
7
- #[ doc( include = "../../core/src/macros/panic.md" ) ]
7
+ #[ doc = include_str ! ( "../../core/src/macros/panic.md" ) ]
8
8
#[ macro_export]
9
9
#[ rustc_builtin_macro = "std_panic" ]
10
10
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ macro_rules! type_alias_no_nz {
18
18
$Docfile: tt, $Alias: ident = $Real: ty;
19
19
$( $Cfg: tt ) *
20
20
} => {
21
- #[ doc( include = $Docfile) ]
21
+ #[ doc = include_str! ( $Docfile) ]
22
22
$( $Cfg ) *
23
23
#[ stable( feature = "raw_os" , since = "1.1.0" ) ]
24
24
pub type $Alias = $Real;
You can’t perform that action at this time.
0 commit comments