File tree Expand file tree Collapse file tree 4 files changed +1
-9
lines changed Expand file tree Collapse file tree 4 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -3738,7 +3738,6 @@ dependencies = [
37383738name = " rustc_macros"
37393739version = " 0.1.0"
37403740dependencies = [
3741- " itertools 0.8.0" ,
37423741 " proc-macro2 1.0.3" ,
37433742 " quote 1.0.2" ,
37443743 " syn 1.0.11" ,
@@ -3802,7 +3801,6 @@ name = "rustc_mir_build"
38023801version = " 0.0.0"
38033802dependencies = [
38043803 " arena" ,
3805- " itertools 0.8.0" ,
38063804 " log" ,
38073805 " rustc" ,
38083806 " rustc_apfloat" ,
Original file line number Diff line number Diff line change @@ -12,4 +12,3 @@ synstructure = "0.12.1"
1212syn = { version = " 1" , features = [" full" ] }
1313proc-macro2 = " 1"
1414quote = " 1"
15- itertools = " 0.8"
Original file line number Diff line number Diff line change 1- use itertools:: Itertools ;
21use proc_macro:: TokenStream ;
32use proc_macro2:: { Delimiter , TokenTree } ;
43use quote:: quote;
@@ -469,10 +468,7 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
469468 attributes. push ( quote ! { eval_always } ) ;
470469 } ;
471470
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) , * } ;
476472
477473 // Add the query to the group
478474 group_stream. extend ( quote ! {
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ doctest = false
1111
1212[dependencies ]
1313arena = { path = " ../libarena" }
14- itertools = " 0.8"
1514log = " 0.4"
1615rustc = { path = " ../librustc" }
1716rustc_apfloat = { path = " ../librustc_apfloat" }
You can’t perform that action at this time.
0 commit comments