From d7b3e237db66ae9af7cf5e989e9b0dc57a6fc151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sun, 22 Sep 2019 12:35:20 +0200 Subject: [PATCH] rustup https://github.com/rust-lang/rust/pull/64666 --- tests/ui/builtin-type-shadow.stderr | 2 ++ 1 file changed, 2 insertions(+) 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