Skip to content

Commit 951d3d6

Browse files
committed
Fix fallout in tests.
1 parent cc079c3 commit 951d3d6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/test/compile-fail/task-rng-isnt-sendable.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ fn test_send<S: Send>() {}
1616

1717
pub fn main() {
1818
test_send::<rand::ThreadRng>();
19-
//~^ ERROR : std::marker::Send` is not satisfied
2019
}

src/test/compile-fail/use-from-trait-xc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ use use_from_trait_xc::Trait::Assoc;
2121
use 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

3030
use use_from_trait_xc::Bar::new as bnew;

0 commit comments

Comments
 (0)