diff options
| author | varkor <github@varkor.com> | 2018-11-20 21:48:13 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-11-20 21:48:13 +0000 |
| commit | b99f9f775c59de7223e810b303e56b39f7bbaf03 (patch) | |
| tree | bd0beeb9fa5b39b3b90c1f87d907f6d4c6d21c63 /src/test/ui/error-codes | |
| parent | 3991bfbbc212ad4825588bb18ad39344e4b600b7 (diff) | |
| download | rust-b99f9f775c59de7223e810b303e56b39f7bbaf03.tar.gz rust-b99f9f775c59de7223e810b303e56b39f7bbaf03.zip | |
Enclose type in backticks for "non-exhaustive patterns" error
This makes the error style consistent with the convention in error messages.
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0004-2.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0004-2.stderr b/src/test/ui/error-codes/E0004-2.stderr index 900812787bc..2d46196ddda 100644 --- a/src/test/ui/error-codes/E0004-2.stderr +++ b/src/test/ui/error-codes/E0004-2.stderr @@ -1,4 +1,4 @@ -error[E0004]: non-exhaustive patterns: type std::option::Option<i32> is non-empty +error[E0004]: non-exhaustive patterns: type `std::option::Option<i32>` is non-empty --> $DIR/E0004-2.rs:14:11 | LL | match x { } //~ ERROR E0004 |
