Fix fallout in tests.
This commit is contained in:
parent
cc079c3af2
commit
951d3d6872
2 changed files with 2 additions and 3 deletions
|
|
@ -16,5 +16,4 @@ fn test_send<S: Send>() {}
|
|||
|
||||
pub fn main() {
|
||||
test_send::<rand::ThreadRng>();
|
||||
//~^ ERROR : std::marker::Send` is not satisfied
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue