File tree 4 files changed +1
-9
lines changed
4 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -3750,7 +3750,6 @@ dependencies = [
3750
3750
name = " rustc_macros"
3751
3751
version = " 0.1.0"
3752
3752
dependencies = [
3753
- " itertools 0.8.0" ,
3754
3753
" proc-macro2 1.0.3" ,
3755
3754
" quote 1.0.2" ,
3756
3755
" syn 1.0.11" ,
@@ -3814,7 +3813,6 @@ name = "rustc_mir_build"
3814
3813
version = " 0.0.0"
3815
3814
dependencies = [
3816
3815
" arena" ,
3817
- " itertools 0.8.0" ,
3818
3816
" log" ,
3819
3817
" rustc" ,
3820
3818
" rustc_apfloat" ,
Original file line number Diff line number Diff line change @@ -12,4 +12,3 @@ synstructure = "0.12.1"
12
12
syn = { version = " 1" , features = [" full" ] }
13
13
proc-macro2 = " 1"
14
14
quote = " 1"
15
- itertools = " 0.8"
Original file line number Diff line number Diff line change 1
- use itertools:: Itertools ;
2
1
use proc_macro:: TokenStream ;
3
2
use proc_macro2:: { Delimiter , TokenTree } ;
4
3
use quote:: quote;
@@ -469,10 +468,7 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
469
468
attributes. push ( quote ! { eval_always } ) ;
470
469
} ;
471
470
472
- let mut attribute_stream = quote ! { } ;
473
- for e in attributes. into_iter ( ) . intersperse ( quote ! { , } ) {
474
- attribute_stream. extend ( e) ;
475
- }
471
+ let attribute_stream = quote ! { #( #attributes) , * } ;
476
472
477
473
// Add the query to the group
478
474
group_stream. extend ( quote ! {
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ doctest = false
11
11
12
12
[dependencies ]
13
13
arena = { path = " ../libarena" }
14
- itertools = " 0.8"
15
14
log = " 0.4"
16
15
rustc = { path = " ../librustc" }
17
16
rustc_apfloat = { path = " ../librustc_apfloat" }
You can’t perform that action at this time.
0 commit comments