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
68
68
69
69
*/
70
70
71
- #![ cfg_attr( feature="nightly" , feature( const_fn) ) ]
71
+ #![ cfg_attr( feature="nightly" , feature( const_fn, core_intrinsics ) ) ]
72
72
#![ crate_type = "dylib" ]
73
73
74
74
#[ macro_export]
@@ -108,7 +108,7 @@ macro_rules! lazy_static {
108
108
} ) ;
109
109
match * DATA . 0 . get( ) {
110
110
Some ( ref x) => x,
111
- None => loop { /* unreachable */ } ,
111
+ None => :: std :: intrinsics :: unreachable( ) ,
112
112
}
113
113
}
114
114
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 ) ) ]
2
2
3
3
#[ macro_use]
4
4
extern crate lazy_static;
You can’t perform that action at this time.
0 commit comments