We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc079c3 commit 951d3d6Copy full SHA for 951d3d6
src/test/compile-fail/task-rng-isnt-sendable.rs
@@ -16,5 +16,4 @@ fn test_send<S: Send>() {}
16
17
pub fn main() {
18
test_send::<rand::ThreadRng>();
19
- //~^ ERROR : std::marker::Send` is not satisfied
20
}
src/test/compile-fail/use-from-trait-xc.rs
@@ -21,10 +21,10 @@ use use_from_trait_xc::Trait::Assoc;
21
use use_from_trait_xc::Trait::CONST;
22
//~^ ERROR `CONST` is not directly importable
23
24
-use use_from_trait_xc::Foo::new;
+use use_from_trait_xc::Foo::new; //~ ERROR struct `Foo` is private
25
//~^ ERROR unresolved import `use_from_trait_xc::Foo::new`
26
27
-use use_from_trait_xc::Foo::C;
+use use_from_trait_xc::Foo::C; //~ ERROR struct `Foo` is private
28
//~^ ERROR unresolved import `use_from_trait_xc::Foo::C`
29
30
use use_from_trait_xc::Bar::new as bnew;
0 commit comments