Skip to content

Commit 32e4423

Browse files
authored
Fix small errors
1 parent ec75b73 commit 32e4423

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ui/weird-exprs.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,14 @@ fn infcx() {
231231
let _cx: cx::cx::Cx = cx::cx::cx::cx::cx::Cx;
232232
}
233233

234-
fn return_already() -> impl Display {
234+
fn return_already() -> impl std::fmt::Debug {
235235
loop {
236236
return !!!!!!!
237237
break !!!!!!1111
238238
}
239239
}
240240

241-
fn cursed_macros() -> impl Display {
241+
fn cursed_macros() -> impl std::fmt::Debug {
242242
loop {
243243
if! {
244244
match! (
@@ -248,10 +248,10 @@ fn cursed_macros() -> impl Display {
248248
}
249249
}
250250
)
251-
251+
252252
{}
253253
}
254-
254+
255255
{}
256256
}
257257
}

0 commit comments

Comments
 (0)