From a902e3fd715d01c05568f9f9e99e9311b9653c48 Mon Sep 17 00:00:00 2001
From: Lzu Tao <taolzu@gmail.com>
Date: Wed, 6 Nov 2019 06:24:47 +0000
Subject: [PATCH] rustup https://github.com/rust-lang/rust/pull/66014

---
 tests/ui/builtin-type-shadow.stderr | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/ui/builtin-type-shadow.stderr b/tests/ui/builtin-type-shadow.stderr
index c19ea6114f8..42bde5e07f3 100644
--- a/tests/ui/builtin-type-shadow.stderr
+++ b/tests/ui/builtin-type-shadow.stderr
@@ -10,9 +10,11 @@ error[E0308]: mismatched types
   --> $DIR/builtin-type-shadow.rs:5:5
    |
 LL | fn foo<u32>(a: u32) -> u32 {
-   |                        --- expected `u32` because of return type
+   |        ---             --- expected `u32` because of return type
+   |        |
+   |        this type parameter
 LL |     42
-   |     ^^ expected type parameter, found integer
+   |     ^^ expected type parameter `u32`, found integer
    |
    = note: expected type `u32`
               found type `{integer}`