]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/repeat_count.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / repeat_count.rs
index 74385c7949790a523e66a199dea277d39d666c30..c42dc8c99719d0c78ec039c9fe1b8c06f3bd507e 100644 (file)
@@ -16,7 +16,7 @@ fn main() {
     //~^ ERROR mismatched types
     //~| expected type `usize`
     //~| found type `{float}`
-    //~| expected usize, found floating-point variable
+    //~| expected usize, found floating-point number
     let e = [0; "foo"];
     //~^ ERROR mismatched types
     //~| expected type `usize`