mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Fix fallout in tests.
This commit is contained in:
parent
cc079c3af2
commit
951d3d6872
@ -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…
Reference in New Issue
Block a user