Skip to content

Commit 7739fca

Browse files
committed
Bless all pretty printer tests and ui tests
1 parent 6db97b3 commit 7739fca

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/test/pretty/issue-4264.pp

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
for<'r> fn(Arguments<'r>) -> String {format})(((::core::fmt::Arguments::new_v1
3636
as
3737
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]),
4039
(&([] as [ArgumentV1; 0]) as &[ArgumentV1; 0])) as
4140
Arguments)) as String);
4241
(res as String)

src/test/ui/match/issue-82392.stdout

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pub fn main() ({
1111
({ } as
1212
()) else if (let Some(a) =
1313
((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 ())
1716
} as ())

src/test/ui/proc-macro/quote-debug.stdout

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ fn main() {
2727
crate::TokenStream::from(crate::TokenTree::Literal({
2828
let mut iter =
2929
"\"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) =
3231
(iter.next(), iter.next()) {
3332
lit.set_span(crate::Span::recover_proc_macro_span(2));
3433
lit

0 commit comments

Comments
 (0)