File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ The `Deref` implementation uses a hidden static variable that is guarded by a at
6868
6969*/
7070
71- #![ cfg_attr( feature="nightly" , feature( const_fn) ) ]
71+ #![ cfg_attr( feature="nightly" , feature( const_fn, core_intrinsics ) ) ]
7272#![ crate_type = "dylib" ]
7373
7474#[ macro_export]
@@ -108,7 +108,7 @@ macro_rules! lazy_static {
108108 } ) ;
109109 match * DATA . 0 . get( ) {
110110 Some ( ref x) => x,
111- None => loop { /* unreachable */ } ,
111+ None => :: std :: intrinsics :: unreachable( ) ,
112112 }
113113 }
114114
Original file line number Diff line number Diff line change 1- #![ cfg_attr( feature="nightly" , feature( const_fn) ) ]
1+ #![ cfg_attr( feature="nightly" , feature( const_fn, core_intrinsics ) ) ]
22
33#[ macro_use]
44extern crate lazy_static;
You can’t perform that action at this time.
0 commit comments