Update compile-fail tests due to changed diagnostics
This commit is contained in:
parent
e0cfe10aad
commit
a40e2a6463
@ -8,7 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use std::slice as std; //~ ERROR import conflicts with imported crate
|
||||
use std::slice as std; //~ ERROR import `std` conflicts with imported crate
|
||||
|
||||
fn main() {
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
use std::mem::transmute;
|
||||
//~^ ERROR import conflicts with value in this module
|
||||
//~^ ERROR import `transmute` conflicts with value in this module
|
||||
|
||||
fn transmute() {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user