File tree 3 files changed +4
-7
lines changed
3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 35
35
for<' r> fn(Arguments<' r>) -> String {format })(((::core::fmt::Arguments::new_v1
36
36
as
37
37
fn(&[&' static str], &[ArgumentV1]) -> Arguments {Arguments::new_v1})((&([("test"
38
- as &str)] as [&str; 1]) as
39
- &[&str; 1]),
38
+ as &str)] as [&str; 1]) as &[&str; 1]),
40
39
(&([] as [ArgumentV1; 0]) as &[ArgumentV1; 0])) as
41
40
Arguments)) as String);
42
41
(res as String)
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ pub fn main() ({
11
11
({ } as
12
12
()) else if (let Some(a) =
13
13
((Some as
14
- fn(i32) -> Option<i32> {Option::<i32>::Some})((3
15
- as i32)) as Option<i32>) as bool) ({ } as ())
16
- as ())
14
+ fn(i32) -> Option<i32> {Option::<i32>::Some})((3 as i32)) as
15
+ Option<i32>) as bool) ({ } as ()) as ())
17
16
} as ())
Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ fn main() {
27
27
crate::TokenStream::from(crate::TokenTree::Literal({
28
28
let mut iter =
29
29
"\"world\"".parse::<crate::TokenStream>().unwrap().into_iter();
30
- if let (Some(crate::TokenTree::Literal(mut lit)),
31
- None) =
30
+ if let (Some(crate::TokenTree::Literal(mut lit)), None) =
32
31
(iter.next(), iter.next()) {
33
32
lit.set_span(crate::Span::recover_proc_macro_span(2));
34
33
lit
You can’t perform that action at this time.
0 commit comments