Renamed ast::Purity to ast::FnStyle and ast::ImpureFn to ast::NormalFn and updated associated variable and function names.
This commit is contained in:
parent
3f2c55f7d5
commit
0bf4e900d4
40 changed files with 262 additions and 262 deletions
|
|
@ -17,7 +17,7 @@ trait Mumbo {
|
|||
impl Mumbo for uint {
|
||||
// Cannot have a larger effect than the trait:
|
||||
unsafe fn jumbo(&self, x: @uint) { *self + *x; }
|
||||
//~^ ERROR expected impure fn but found unsafe fn
|
||||
//~^ ERROR expected normal fn but found unsafe fn
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue