Skip to content

Commit

Permalink
Fix fallout in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jseyfried committed Aug 18, 2016
1 parent cc079c3 commit 951d3d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/test/compile-fail/task-rng-isnt-sendable.rs
Expand Up @@ -16,5 +16,4 @@ fn test_send<S: Send>() {}

pub fn main() {
test_send::<rand::ThreadRng>();
//~^ ERROR : std::marker::Send` is not satisfied
}
4 changes: 2 additions & 2 deletions src/test/compile-fail/use-from-trait-xc.rs
Expand Up @@ -21,10 +21,10 @@ use use_from_trait_xc::Trait::Assoc;
use use_from_trait_xc::Trait::CONST;
//~^ ERROR `CONST` is not directly importable

use use_from_trait_xc::Foo::new;
use use_from_trait_xc::Foo::new; //~ ERROR struct `Foo` is private
//~^ ERROR unresolved import `use_from_trait_xc::Foo::new`

use use_from_trait_xc::Foo::C;
use use_from_trait_xc::Foo::C; //~ ERROR struct `Foo` is private
//~^ ERROR unresolved import `use_from_trait_xc::Foo::C`

use use_from_trait_xc::Bar::new as bnew;
Expand Down

0 comments on commit 951d3d6

Please sign in to comment.