]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-29084.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-29084.rs
index 6cb6bbf1893fc15b8638c09ab3c6f56011c3d22a..c4c6b6f8183b999ea651fa95da4d2865106e4a3f 100644 (file)
@@ -1,21 +1,9 @@
-// Copyright 2016 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.
-
 macro_rules! foo {
     ($d:expr) => {{
         fn bar(d: u8) { }
         bar(&mut $d);
         //~^ ERROR mismatched types
         //~| expected u8, found &mut u8
-        //~| expected type `u8`
-        //~| found type `&mut u8`
     }}
 }