]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/E0260.rs
New upstream version 1.24.1+dfsg1
[rustc.git] / src / test / compile-fail / E0260.rs
index ad8888e58f79ad4176b537850c836d2933d77b77..1b01bb12203d3949a5a85d6be3951bfbf8cd97fc 100644 (file)
 #![allow(unused_extern_crates)]
 
 extern crate alloc;
-//~^ NOTE previous import of the extern crate `alloc` here
 
 mod alloc {
 //~^ ERROR the name `alloc` is defined multiple times [E0260]
-//~| NOTE `alloc` redefined here
-//~| NOTE `alloc` must be defined only once in the type namespace of this module
     pub trait MyTrait {
         fn do_something();
     }