File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ pub mod _internal {
152152
153153 // Re-export libcore so the macro doesn't inject "extern crate" downstream.
154154 pub mod core {
155- pub use core:: { convert, option, ops, compile_error } ;
155+ pub use core:: { convert, option, ops} ;
156156 }
157157}
158158
Original file line number Diff line number Diff line change @@ -12,15 +12,11 @@ use std::convert::From;
1212/// Shorthand for a quoted `compile_error!`.
1313macro_rules! error {
1414 ( $span: expr => $( $x: tt) * ) => {
15- quote_spanned!( $span =>
16- :: enumflags2:: _internal:: core:: compile_error!( $( $x) * ) ;
17- )
15+ quote_spanned!( $span => compile_error!( $( $x) * ) ; )
1816 } ;
1917 ( $( $x: tt) * ) => {
20- quote!(
21- :: enumflags2:: _internal:: core:: compile_error!( $( $x) * ) ;
22- )
23- }
18+ quote!( compile_error!( $( $x) * ) ; )
19+ } ;
2420}
2521
2622#[ proc_macro_derive( BitFlags_internal ) ]
You can’t perform that action at this time.
0 commit comments