Skip to content

Commit

Permalink
Fix small errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oberien committed Dec 16, 2023
1 parent ec75b73 commit 32e4423
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ui/weird-exprs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ fn infcx() {
let _cx: cx::cx::Cx = cx::cx::cx::cx::cx::Cx;
}

fn return_already() -> impl Display {
fn return_already() -> impl std::fmt::Debug {
loop {
return !!!!!!!
break !!!!!!1111
}
}

fn cursed_macros() -> impl Display {
fn cursed_macros() -> impl std::fmt::Debug {
loop {
if! {
match! (
Expand All @@ -248,10 +248,10 @@ fn cursed_macros() -> impl Display {
}
}
)

{}
}

{}
}
}
Expand Down

0 comments on commit 32e4423

Please sign in to comment.