diff options
Diffstat (limited to 'src/test/ui/macros/macros-nonfatal-errors.stderr')
| -rw-r--r-- | src/test/ui/macros/macros-nonfatal-errors.stderr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/macros/macros-nonfatal-errors.stderr b/src/test/ui/macros/macros-nonfatal-errors.stderr index d29e6b4d46f..1ab6b79a61e 100644 --- a/src/test/ui/macros/macros-nonfatal-errors.stderr +++ b/src/test/ui/macros/macros-nonfatal-errors.stderr @@ -3,6 +3,8 @@ error[E0665]: `Default` cannot be derived for enums, only structs | LL | #[derive(Default)] | ^^^^^^^ + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: inline assembly must be a string literal --> $DIR/macros-nonfatal-errors.rs:13:10 @@ -68,6 +70,8 @@ error: couldn't read $DIR/i'd be quite surprised if a file with this name existe | LL | include_str!("i'd be quite surprised if a file with this name existed"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: argument must be a string literal --> $DIR/macros-nonfatal-errors.rs:28:20 @@ -80,6 +84,8 @@ error: couldn't read $DIR/i'd be quite surprised if a file with this name existe | LL | include_bytes!("i'd be quite surprised if a file with this name existed"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: trace_macros! accepts only `true` or `false` --> $DIR/macros-nonfatal-errors.rs:31:5 |
