]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/const-eval-span.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / consts / const-eval / const-eval-span.rs
index f0fa1c0b9b47d6b69b21c62bd9ce67da24ea846b..682c7a1d65fc9c3e1c40d60f853565fa7ca69ada 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2015 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.
-
 // Check that error in constant evaluation of enum discriminant
 // provides the context for what caused the evaluation.
 
@@ -19,7 +9,6 @@ enum E {
     V = CONSTANT,
     //~^ ERROR mismatched types
     //~| expected isize, found struct `S`
-    //~|         found type `S`
 }
 
 fn main() {}