From cadc35af5a3f05cc5b01efd4c16a480bea9e2a0b Mon Sep 17 00:00:00 2001 From: flip1995 Date: Fri, 22 Nov 2019 13:46:20 +0100 Subject: [PATCH] Rustup to rust-lang/rust#66389 --- tests/ui/builtin-type-shadow.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/builtin-type-shadow.stderr b/tests/ui/builtin-type-shadow.stderr index 42bde5e07..b6a4adde8 100644 --- a/tests/ui/builtin-type-shadow.stderr +++ b/tests/ui/builtin-type-shadow.stderr @@ -16,8 +16,8 @@ LL | fn foo(a: u32) -> u32 { LL | 42 | ^^ expected type parameter `u32`, found integer | - = note: expected type `u32` - found type `{integer}` + = note: expected type parameter `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