]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/issue-39226.rs
Rollup merge of #57418 - lqd:collector_query, r=michaelwoerister
[rust.git] / src / test / ui / resolve / issue-39226.rs
index f58f7cc3869d2d61363f84372e7a64353d1667af..0f784f02b41b64365ba70a32655ebcbdccced38d 100644 (file)
@@ -1,12 +1,3 @@
-// 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.
 struct Handle {}
 
 struct Something {
@@ -19,7 +10,5 @@ fn main() {
     let s: Something = Something {
         handle: Handle
         //~^ ERROR expected value, found struct `Handle`
-        //~| NOTE did you mean `Handle { /* fields */ }`?
-        //~| NOTE did you mean `handle`
     };
 }