mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-26 13:54:06 +00:00
Temporary workaround for travis diagnostic difference
This commit is contained in:
parent
e7d66758cf
commit
c4bf5f9d63
@ -1,5 +1,7 @@
|
||||
#![feature(generators)]
|
||||
|
||||
// normalize-stderr-test "std::pin::Unpin" -> "std::marker::Unpin"
|
||||
|
||||
use std::marker::Unpin;
|
||||
|
||||
fn assert_unpin<T: Unpin>(_: T) {
|
||||
|
@ -1,11 +1,11 @@
|
||||
error[E0277]: the trait bound `[static generator@$DIR/static-not-unpin.rs:9:25: 11:6 _]: std::marker::Unpin` is not satisfied
|
||||
--> $DIR/static-not-unpin.rs:12:5
|
||||
error[E0277]: the trait bound `[static generator@$DIR/static-not-unpin.rs:11:25: 13:6 _]: std::marker::Unpin` is not satisfied
|
||||
--> $DIR/static-not-unpin.rs:14:5
|
||||
|
|
||||
LL | assert_unpin(generator); //~ ERROR std::marker::Unpin` is not satisfied
|
||||
| ^^^^^^^^^^^^ the trait `std::marker::Unpin` is not implemented for `[static generator@$DIR/static-not-unpin.rs:9:25: 11:6 _]`
|
||||
| ^^^^^^^^^^^^ the trait `std::marker::Unpin` is not implemented for `[static generator@$DIR/static-not-unpin.rs:11:25: 13:6 _]`
|
||||
|
|
||||
note: required by `assert_unpin`
|
||||
--> $DIR/static-not-unpin.rs:5:1
|
||||
--> $DIR/static-not-unpin.rs:7:1
|
||||
|
|
||||
LL | fn assert_unpin<T: Unpin>(_: T) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
Loading…
Reference in New Issue
Block a user