]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/underscore-suffix-for-float.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / underscore-suffix-for-float.rs
index bb1cf5949b903aeafd4472ffdb6e1535ca8eb82c..c9b7eced0b2a069b2479dd040a1d9fdd22bbd881 100644 (file)
@@ -1,15 +1,4 @@
-// Copyright 2017 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.
-
-// compile-flags: -Z parse-only
-
 fn main() {
     let a = 42._; //~ ERROR expected identifier, found reserved identifier `_`
+                  //~| ERROR `{integer}` is a primitive type and therefore doesn't have fields
 }