move some more tests
This commit is contained in:
parent
1b22befd36
commit
454b14a511
47 changed files with 47 additions and 47 deletions
|
@ -0,0 +1,29 @@
|
|||
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// http://rust-lang.org/COPYRIGHT.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// compile-pass
|
||||
#![allow(dead_code)]
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
/*
|
||||
|
||||
#8171 Self is not recognised as implementing kinds in default method implementations
|
||||
|
||||
*/
|
||||
|
||||
fn require_send<T: Send>(_: T){}
|
||||
|
||||
trait TragicallySelfIsNotSend: Send + Sized {
|
||||
fn x(self) {
|
||||
require_send(self);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn main(){}
|
Loading…
Add table
Add a link
Reference in a new issue