]> 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 a716f3e29d488ce62adf8503f769b5deb70f6361..c42dc8c99719d0c78ec039c9fe1b8c06f3bd507e 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 // Regression test for issue #3645
 
 fn main() {
@@ -26,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`