markers -> marker
This commit is contained in:
parent
91ba66fa99
commit
9f07d055f7
154 changed files with 332 additions and 332 deletions
|
@ -8,17 +8,17 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use std::markers;
|
||||
use std::marker;
|
||||
|
||||
struct Foo {
|
||||
a: int,
|
||||
ns: markers::NoSend
|
||||
ns: marker::NoSend
|
||||
}
|
||||
|
||||
fn bar<T: Send>(_: T) {}
|
||||
|
||||
fn main() {
|
||||
let x = Foo { a: 5, ns: markers::NoSend };
|
||||
let x = Foo { a: 5, ns: marker::NoSend };
|
||||
bar(x);
|
||||
//~^ ERROR the trait `core::markers::Send` is not implemented
|
||||
//~^ ERROR the trait `core::marker::Send` is not implemented
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue