mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
test: Remove obsolete tests. rs=buildbot
This commit is contained in:
parent
0a3a2eebfc
commit
2a6c6348b7
@ -1,9 +0,0 @@
|
||||
#[forbid(deprecated_mode)];
|
||||
|
||||
fn foo(_f: fn(&i: int)) { //~ ERROR by-mutable-reference mode
|
||||
}
|
||||
|
||||
type Bar = fn(&i: int); //~ ERROR by-mutable-reference mode
|
||||
|
||||
fn main() {
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
//error-pattern: by-mutable-reference mode
|
||||
|
||||
fn bad(&a: int) {
|
||||
}
|
||||
|
||||
fn called(f: fn(&int)) {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
called(bad);
|
||||
}
|
Loading…
Reference in New Issue
Block a user