forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1370bbc
commit 6bd6a20
Showing
3 changed files
with
30 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
error: cannot find derive macro `Unresolved` in this scope | ||
--> $DIR/deduplicate-diagnostics.rs:4:10 | ||
| | ||
LL | #[derive(Unresolved)] | ||
| ^^^^^^^^^^ | ||
|
||
error: aborting due to previous error | ||
|
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,14 @@ | ||
error: cannot find derive macro `Unresolved` in this scope | ||
--> $DIR/deduplicate-diagnostics.rs:4:10 | ||
| | ||
LL | #[derive(Unresolved)] | ||
| ^^^^^^^^^^ | ||
|
||
error: cannot find derive macro `Unresolved` in this scope | ||
--> $DIR/deduplicate-diagnostics.rs:4:10 | ||
| | ||
LL | #[derive(Unresolved)] | ||
| ^^^^^^^^^^ | ||
|
||
error: aborting due to 2 previous errors | ||
|
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,8 @@ | ||
// revisions: duplicate deduplicate | ||
//[duplicate] compile-flags: -Z deduplicate-diagnostics=no | ||
|
||
#[derive(Unresolved)] //~ ERROR cannot find derive macro `Unresolved` in this scope | ||
//[duplicate]~| ERROR cannot find derive macro `Unresolved` in this scope | ||
struct S; | ||
|
||
fn main() {} |