diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-11-29 13:10:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-29 13:10:33 +0100 |
| commit | aebf07e3eb95dbcfa1ff468a6a428e7029c58d41 (patch) | |
| tree | 18ac50117daa54798b5b7e557a8c37d7f2f088b3 /src/test/ui/error-codes | |
| parent | 36a4abf6e0788ee444671126a19ffd76d73e13a2 (diff) | |
| parent | f03987276656134f25f92f7434d7d1c63c9e981c (diff) | |
| download | rust-aebf07e3eb95dbcfa1ff468a6a428e7029c58d41.tar.gz rust-aebf07e3eb95dbcfa1ff468a6a428e7029c58d41.zip | |
Rollup merge of #56114 - varkor:nonexhaustive-backticks, r=nikomatsakis
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 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0055.stderr | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/src/test/ui/error-codes/E0055.stderr b/src/test/ui/error-codes/E0055.stderr index 9653f4eaeef..dddbd92765a 100644 --- a/src/test/ui/error-codes/E0055.stderr +++ b/src/test/ui/error-codes/E0055.stderr @@ -1,4 +1,4 @@ -error[E0055]: reached the recursion limit while auto-dereferencing Foo +error[E0055]: reached the recursion limit while auto-dereferencing `Foo` --> $DIR/E0055.rs:21:13 | LL | ref_foo.foo(); |
