diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2019-09-22 12:35:20 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2019-09-22 12:35:20 +0200 |
| commit | d7b3e237db66ae9af7cf5e989e9b0dc57a6fc151 (patch) | |
| tree | 4cf5a854c3b2302134b85b1fbbae779e4594939e | |
| parent | d07d001b74f384e34d5f670c34e45bdc9a372ca2 (diff) | |
| download | rust-d7b3e237db66ae9af7cf5e989e9b0dc57a6fc151.tar.gz rust-d7b3e237db66ae9af7cf5e989e9b0dc57a6fc151.zip | |
rustup https://github.com/rust-lang/rust/pull/64666
| -rw-r--r-- | tests/ui/builtin-type-shadow.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/builtin-type-shadow.stderr b/tests/ui/builtin-type-shadow.stderr index 5714f2094da..c19ea6114f8 100644 --- a/tests/ui/builtin-type-shadow.stderr +++ b/tests/ui/builtin-type-shadow.stderr @@ -16,6 +16,8 @@ LL | 42 | = note: expected type `u32` found type `{integer}` + = help: type parameters must be constrained to match other types + = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters error: aborting due to 2 previous errors |
