File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,4 @@ fn test_send<S: Send>() {}
1616
1717pub fn main ( ) {
1818 test_send :: < rand:: ThreadRng > ( ) ;
19- //~^ ERROR : std::marker::Send` is not satisfied
2019}
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ use use_from_trait_xc::Trait::Assoc;
2121use use_from_trait_xc:: Trait :: CONST ;
2222//~^ ERROR `CONST` is not directly importable
2323
24- use use_from_trait_xc:: Foo :: new;
24+ use use_from_trait_xc:: Foo :: new; //~ ERROR struct `Foo` is private
2525//~^ ERROR unresolved import `use_from_trait_xc::Foo::new`
2626
27- use use_from_trait_xc:: Foo :: C ;
27+ use use_from_trait_xc:: Foo :: C ; //~ ERROR struct `Foo` is private
2828//~^ ERROR unresolved import `use_from_trait_xc::Foo::C`
2929
3030use use_from_trait_xc:: Bar :: new as bnew;
You can’t perform that action at this time.
0 commit comments