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/borrowck | |
| parent | ab080973cb3bfa96f71b7d29fc5c3e34893cf896 (diff) | |
rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
Diffstat (limited to 'src/test/ui/borrowck')
| -rw-r--r-- | src/test/ui/borrowck/borrowck-borrowed-uniq-rvalue-2.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/borrowck/issue-64453.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/borrowck/move-error-snippets.stderr | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/borrowck/borrowck-borrowed-uniq-rvalue-2.stderr b/src/test/ui/borrowck/borrowck-borrowed-uniq-rvalue-2.stderr index d0250d862fc..bdb073cdcbc 100644 --- a/src/test/ui/borrowck/borrowck-borrowed-uniq-rvalue-2.stderr +++ b/src/test/ui/borrowck/borrowck-borrowed-uniq-rvalue-2.stderr @@ -9,7 +9,7 @@ LL | x.x[0]; | ------ borrow later used here | = note: consider using a `let` binding to create a longer lived value - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error diff --git a/src/test/ui/borrowck/issue-64453.stderr b/src/test/ui/borrowck/issue-64453.stderr index 3a7f13f5bba..edc496aa2f8 100644 --- a/src/test/ui/borrowck/issue-64453.stderr +++ b/src/test/ui/borrowck/issue-64453.stderr @@ -6,7 +6,7 @@ LL | static settings_dir: String = format!(""); | = note: for more information, see https://github.com/rust-lang/rust/issues/49146 = help: add `#![feature(const_if_match)]` to the crate attributes to enable - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error diff --git a/src/test/ui/borrowck/move-error-snippets.stderr b/src/test/ui/borrowck/move-error-snippets.stderr index 77463c48591..e0acd459571 100644 --- a/src/test/ui/borrowck/move-error-snippets.stderr +++ b/src/test/ui/borrowck/move-error-snippets.stderr @@ -9,6 +9,8 @@ LL | aaa!(D); ... LL | sss!(); | ------- in this macro invocation + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error |
