-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #65912 - estebank:variants-orig, r=petrochenkov
Point at the span for the definition of crate foreign ADTs Follow up to #65421. Partially addresses #65386. Blocked on #53081.
- Loading branch information
Showing
28 changed files
with
310 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
error: cannot find derive macro `Eqr` in this scope | ||
--> $DIR/deriving-meta-unknown-trait.rs:1:10 | ||
--> $DIR/deriving-meta-unknown-trait.rs:5:10 | ||
| | ||
LL | #[derive(Eqr)] | ||
| ^^^ help: a derive macro with a similar name exists: `Eq` | ||
| | ||
::: $SRC_DIR/libcore/cmp.rs:LL:COL | ||
| | ||
LL | pub macro Eq($item:item) { | ||
| ------------------------ similarly named derive macro `Eq` defined here | ||
|
||
error: cannot find derive macro `Eqr` in this scope | ||
--> $DIR/deriving-meta-unknown-trait.rs:1:10 | ||
--> $DIR/deriving-meta-unknown-trait.rs:5:10 | ||
| | ||
LL | #[derive(Eqr)] | ||
| ^^^ help: a derive macro with a similar name exists: `Eq` | ||
| | ||
::: $SRC_DIR/libcore/cmp.rs:LL:COL | ||
| | ||
LL | pub macro Eq($item:item) { | ||
| ------------------------ similarly named derive macro `Eq` defined here | ||
|
||
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
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
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,3 +1,7 @@ | ||
// FIXME: missing sysroot spans (#53081) | ||
// ignore-i586-unknown-linux-gnu | ||
// ignore-i586-unknown-linux-musl | ||
// ignore-i686-unknown-linux-musl | ||
fn main() { | ||
printlx!("oh noes!"); //~ ERROR cannot find | ||
} |
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,8 +1,13 @@ | ||
error: cannot find macro `printlx` in this scope | ||
--> $DIR/macro-name-typo.rs:2:5 | ||
--> $DIR/macro-name-typo.rs:6:5 | ||
| | ||
LL | printlx!("oh noes!"); | ||
| ^^^^^^^ help: a macro with a similar name exists: `println` | ||
| | ||
::: $SRC_DIR/libstd/macros.rs:LL:COL | ||
| | ||
LL | macro_rules! println { | ||
| -------------------- similarly named macro `println` defined here | ||
|
||
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
// FIXME: missing sysroot spans (#53081) | ||
// ignore-i586-unknown-linux-gnu | ||
// ignore-i586-unknown-linux-musl | ||
// ignore-i686-unknown-linux-musl | ||
fn main() { | ||
inline!(); //~ ERROR cannot find macro `inline` in this scope | ||
} |
Oops, something went wrong.