Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add/Fix stderr references for impl Trait ui tests
- Loading branch information
1 parent
b276429
commit f710d41
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
error[E0425]: cannot find function `wants_clone` in this scope | ||
--> $DIR/universal_wrong_bounds.rs:18:5 | ||
| | ||
18 | wants_clone(f); | ||
| ^^^^^^^^^^^ did you mean `wants_cone`? | ||
|
||
error[E0405]: cannot find trait `Debug` in this scope | ||
--> $DIR/universal_wrong_bounds.rs:21:24 | ||
| | ||
21 | fn wants_debug(g: impl Debug) { } | ||
| ^^^^^ not found in this scope | ||
| | ||
help: possible candidate is found in another module, you can import it into scope | ||
| | ||
13 | use std::fmt::Debug; | ||
| | ||
|
||
error[E0405]: cannot find trait `Debug` in this scope | ||
--> $DIR/universal_wrong_bounds.rs:22:26 | ||
| | ||
22 | fn wants_display(g: impl Debug) { } | ||
| ^^^^^ not found in this scope | ||
| | ||
help: possible candidate is found in another module, you can import it into scope | ||
| | ||
13 | use std::fmt::Debug; | ||
| | ||
|
||
error: cannot continue compilation due to previous error | ||
|