Skip to content

Commit

Permalink
Update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
regexident committed Dec 10, 2024
1 parent a3b834b commit 93be4bb
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ error: cannot find attribute `non_existent_macro` in this scope
|
1 | #[non_existent_macro]
| ^^^^^^^^^^^^^^^^^^
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ error: cannot find derive macro `NonExistentMacro` in this scope
|
1 | #[derive(NonExistentMacro)]
| ^^^^^^^^^^^^^^^^
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ error: cannot find macro `non_existent_macro` in this scope
|
2 | non_existent_macro!();
| ^^^^^^^^^^^^^^^^^^
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ error[E0277]: cannot add `&str` to `{integer}`
= note: this error originates in the macro `produce_invalid_code` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
running 1 test
F
failing_test --- FAILED

failures:

---- failing_test stdout ----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ error[E0425]: cannot find value `asdf` in this scope
| ^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `<CRATE>` (bin "<BIN>" test) due to previous error
error: could not compile `<CRATE>` (bin "<BIN>" test) due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ error[E0277]: cannot add `&str` to `{integer}`
= note: this error originates in the macro `produce_invalid_code` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
1 change: 1 addition & 0 deletions tests/other-tests/tests/envs/fail/env_var.err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ error: env var required
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ error[E0432]: unresolved import `http`
5 | use http::Request;
| ^^^^ use of undeclared crate or module `http`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
1 change: 1 addition & 0 deletions tests/other-tests/tests/expand/fail/invalid_syntax.err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ error: expected one of `!` or `::`, found `ipsum`
|
1 | lorem ipsum dolor sit amet.
| ^^^^^ expected one of `!` or `::`
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
1 change: 1 addition & 0 deletions tests/other-tests/tests/expand/fail/unknown_fn.err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ error[E0425]: cannot find function `non_existent_fn` in this scope
2 | non_existent_fn();
| ^^^^^^^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
1 change: 1 addition & 0 deletions tests/other-tests/tests/expand/fail/unknown_macro.err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ error: cannot find macro `non_existent_macro` in this scope
|
2 | non_existent_macro!();
| ^^^^^^^^^^^^^^^^^^
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ error[E0432]: unresolved import `non_existent_crate`
1 | use non_existent_crate;
| ^^^^^^^^^^^^^^^^^^ no external crate `non_existent_crate`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
3 changes: 2 additions & 1 deletion tests/other-tests/tests/run_tests/fail/failing_test.out.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
running 1 test
F
failing_test --- FAILED

failures:

---- failing_test stdout ----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ error[E0425]: cannot find value `asdf` in this scope
| ^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `<CRATE>` (bin "<BIN>" test) due to previous error
error: could not compile `<CRATE>` (bin "<BIN>" test) due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ error: custom attribute panicked
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: message: test
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ error: proc-macro derive panicked
| ^^^^^^^^^^^^^^
|
= help: message: test
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ error: proc macro panicked
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: message: test
error: could not compile `<CRATE>` (bin "<BIN>") due to 1 previous error

0 comments on commit 93be4bb

Please sign in to comment.