File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 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" ) ]
22#[ macro_export]
33#[ rustc_builtin_macro = "core_panic" ]
44#[ allow_internal_unstable( edition_panic) ]
Original file line number Diff line number Diff line change 264264#![ feature( exhaustive_patterns) ]
265265#![ feature( extend_one) ]
266266#![ feature( extended_key_value_attributes) ]
267- #![ feature( external_doc) ]
268267#![ feature( fn_traits) ]
269268#![ feature( format_args_nl) ]
270269#![ feature( gen_future) ]
Original file line number Diff line number Diff line change 44//! library. Each macro is available for use when linking against the standard
55//! library.
66
7- #[ doc( include = "../../core/src/macros/panic.md" ) ]
7+ #[ doc = include_str ! ( "../../core/src/macros/panic.md" ) ]
88#[ macro_export]
99#[ rustc_builtin_macro = "std_panic" ]
1010#[ 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 {
1818 $Docfile: tt, $Alias: ident = $Real: ty;
1919 $( $Cfg: tt ) *
2020 } => {
21- #[ doc( include = $Docfile) ]
21+ #[ doc = include_str! ( $Docfile) ]
2222 $( $Cfg ) *
2323 #[ stable( feature = "raw_os" , since = "1.1.0" ) ]
2424 pub type $Alias = $Real;
You can’t perform that action at this time.
0 commit comments