rm obsolete no-op lints
This commit is contained in:
parent
bb8ca1f52c
commit
13b474dcbb
11 changed files with 0 additions and 37 deletions
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[allow(non_implicitly_copyable_typarams)];
|
||||
|
||||
extern mod syntax;
|
||||
|
||||
use syntax::ext::base::ExtCtxt;
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
// xfail-test #6122
|
||||
|
||||
#[forbid(deprecated_pattern)];
|
||||
|
||||
extern mod extra;
|
||||
|
||||
// These tests used to be separate files, but I wanted to refactor all
|
||||
|
|
|
|||
|
|
@ -8,10 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
// error on implicit copies to check fixed length vectors
|
||||
// are implicitly copyable
|
||||
#[deny(implicit_copies)]
|
||||
pub fn main() {
|
||||
let arr = [1,2,3];
|
||||
let arr2 = arr;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ fn C(x: uint) -> C {
|
|||
fn f<T>(_x: T) {
|
||||
}
|
||||
|
||||
#[deny(non_implicitly_copyable_typarams)]
|
||||
pub fn main() {
|
||||
f(C(1u));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue