-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolve: Attempt to resolve unresolved paths in macro namespace
- Loading branch information
1 parent
3845a08
commit a7726ce
Showing
12 changed files
with
62 additions
and
60 deletions.
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
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
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 |
---|---|---|
@@ -1,23 +1,23 @@ | ||
error[E0405]: cannot find trait `Debug` in this scope | ||
error[E0404]: expected trait, found derive macro `Debug` | ||
--> $DIR/universal_wrong_bounds.rs:9:24 | ||
| | ||
LL | 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 | ||
| ^^^^^ not a trait | ||
help: possible better candidate is found in another module, you can import it into scope | ||
| | ||
LL | use std::fmt::Debug; | ||
| | ||
|
||
error[E0405]: cannot find trait `Debug` in this scope | ||
error[E0404]: expected trait, found derive macro `Debug` | ||
--> $DIR/universal_wrong_bounds.rs:10:26 | ||
| | ||
LL | 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 | ||
| ^^^^^ not a trait | ||
help: possible better candidate is found in another module, you can import it into scope | ||
| | ||
LL | use std::fmt::Debug; | ||
| | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0405`. | ||
For more information about this error, try `rustc --explain E0404`. |
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
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
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