Fix fallout in tests.
This commit is contained in:
parent
d854c362fe
commit
dfa69be38a
5 changed files with 23 additions and 18 deletions
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
extern crate bäz; //~ ERROR non-ascii idents
|
||||
extern crate core as bäz; //~ ERROR non-ascii idents
|
||||
|
||||
use föö::bar; //~ ERROR non-ascii idents
|
||||
|
||||
|
|
|
|||
|
|
@ -39,11 +39,17 @@ pub fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
use std::option::Option as Self;
|
||||
//~^ ERROR expected identifier, found keyword `Self`
|
||||
mod m1 {
|
||||
extern crate core as Self;
|
||||
//~^ ERROR expected identifier, found keyword `Self`
|
||||
}
|
||||
|
||||
extern crate Self;
|
||||
//~^ ERROR expected identifier, found keyword `Self`
|
||||
mod m2 {
|
||||
use std::option::Option as Self;
|
||||
//~^ ERROR expected identifier, found keyword `Self`
|
||||
}
|
||||
|
||||
trait Self {}
|
||||
//~^ ERROR expected identifier, found keyword `Self`
|
||||
mod m3 {
|
||||
trait Self {}
|
||||
//~^ ERROR expected identifier, found keyword `Self`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue