diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-05-06 15:06:45 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-05-06 23:02:47 +0500 |
| commit | 3c1c0726ad18dc07f3ef9b9465d5997ca13e332c (patch) | |
| tree | 26a7975d1de350e6328ad3e05f73c2fbd1d250a0 /tests/ui/explain/error-with-no-explanation.rs | |
| parent | 651e9cf327358b28db7e37a2ae61727f4a2ef232 (diff) | |
| download | rust-3c1c0726ad18dc07f3ef9b9465d5997ca13e332c.tar.gz rust-3c1c0726ad18dc07f3ef9b9465d5997ca13e332c.zip | |
added error handle for error code > 9999
Diffstat (limited to 'tests/ui/explain/error-with-no-explanation.rs')
| -rw-r--r-- | tests/ui/explain/error-with-no-explanation.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/explain/error-with-no-explanation.rs b/tests/ui/explain/error-with-no-explanation.rs new file mode 100644 index 00000000000..383820eb458 --- /dev/null +++ b/tests/ui/explain/error-with-no-explanation.rs @@ -0,0 +1,3 @@ +// It's a valid error with no added explanation +//@ compile-flags: --explain E9999 +//~? ERROR: E9999 is not a valid error code |
