Fix fallout in tests.

This commit is contained in:
Jeffrey Seyfried 2016-08-18 02:00:47 +00:00
parent cc079c3af2
commit 951d3d6872
2 changed files with 2 additions and 3 deletions

View File

@ -16,5 +16,4 @@ fn test_send<S: Send>() {}
pub fn main() { pub fn main() {
test_send::<rand::ThreadRng>(); test_send::<rand::ThreadRng>();
//~^ ERROR : std::marker::Send` is not satisfied
} }

View File

@ -21,10 +21,10 @@ use use_from_trait_xc::Trait::Assoc;
use use_from_trait_xc::Trait::CONST; use use_from_trait_xc::Trait::CONST;
//~^ ERROR `CONST` is not directly importable //~^ 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` //~^ 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` //~^ ERROR unresolved import `use_from_trait_xc::Foo::C`
use use_from_trait_xc::Bar::new as bnew; use use_from_trait_xc::Bar::new as bnew;