diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-12-16 15:56:47 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2020-02-06 21:46:38 +0200 |
| commit | 4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b (patch) | |
| tree | 128245179245a4e0941830062fab2978c1ba7876 /src/test/ui/union | |
| parent | ab080973cb3bfa96f71b7d29fc5c3e34893cf896 (diff) | |
| download | rust-4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b.tar.gz rust-4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b.zip | |
rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
Diffstat (limited to 'src/test/ui/union')
| -rw-r--r-- | src/test/ui/union/union-derive-clone.stderr | 1 | ||||
| -rw-r--r-- | src/test/ui/union/union-derive-eq.stderr | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/union/union-derive-clone.stderr b/src/test/ui/union/union-derive-clone.stderr index 0ef5753b590..12b5321331a 100644 --- a/src/test/ui/union/union-derive-clone.stderr +++ b/src/test/ui/union/union-derive-clone.stderr @@ -5,6 +5,7 @@ LL | #[derive(Clone)] | ^^^^^ the trait `std::marker::Copy` is not implemented for `U1` | = note: required by `std::clone::AssertParamIsCopy` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0599]: no method named `clone` found for union `U5<CloneNoCopy>` in the current scope --> $DIR/union-derive-clone.rs:37:15 diff --git a/src/test/ui/union/union-derive-eq.stderr b/src/test/ui/union/union-derive-eq.stderr index f63ab1704c4..0955c161871 100644 --- a/src/test/ui/union/union-derive-eq.stderr +++ b/src/test/ui/union/union-derive-eq.stderr @@ -5,6 +5,7 @@ LL | a: PartialEqNotEq, | ^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `PartialEqNotEq` | = note: required by `std::cmp::AssertParamIsEq` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error |
