]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/issue-17518.rs
Rollup merge of #57418 - lqd:collector_query, r=michaelwoerister
[rust.git] / src / test / ui / resolve / issue-17518.rs
index 3ac9b379d189253e08b29c163c7a028c43d69e82..edaebc8122c19264dc4f657eb8bd6c0ec2bbb6ea 100644 (file)
@@ -1,18 +1,7 @@
-// Copyright 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.
-
 enum SomeEnum {
     E
 }
 
 fn main() {
-    E { name: "foobar" }; //~ ERROR unresolved struct, variant or union type `E`
-                          //~^ HELP you can import it into scope: `use SomeEnum::E;`
+    E { name: "foobar" }; //~ ERROR cannot find struct, variant or union type `E`
 }