]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/associated-types-path-2.rs
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / associated-types-path-2.rs
index b28b60e70081b81d667ffc95ba3179ef21afcf64..c993e1d27202d5a53ac33f843623d48b8bd24852 100644 (file)
@@ -18,7 +18,7 @@ pub fn f2<T: Foo>(a: T) -> T::A {
 pub fn f1_int_int() {
     f1(2i32, 4i32);
     //~^ ERROR mismatched types
-    //~| expected u32, found i32
+    //~| expected `u32`, found `i32`
 }
 
 pub fn f1_int_uint() {
@@ -40,7 +40,7 @@ pub fn f1_uint_int() {
 pub fn f2_int() {
     let _: i32 = f2(2i32);
     //~^ ERROR mismatched types
-    //~| expected i32, found u32
+    //~| expected `i32`, found `u32`
 }
 
 pub fn main() { }