Skip to content

Instantly share code, notes, and snippets.

@VladUreche
Created February 15, 2016 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VladUreche/45164f05232c524e09d6 to your computer and use it in GitHub Desktop.
Save VladUreche/45164f05232c524e09d6 to your computer and use it in GitHub Desktop.
issue-21221.rs:51:6: 51:9 error: trait `Mul` is not in scope [E0405]
issue-21221.rs:51 impl Mul for Foo {
                       ^~~
issue-21221.rs:51:6: 51:9 help: run `rustc --explain E0405` to see a detailed explanation
issue-21221.rs:51:6: 51:9 note: You may be referring to one of: 
issue-21221.rs:51:6: 51:9 note:  * `mul1::Mul`
issue-21221.rs:51:6: 51:9 note:  * `mul2::Mul`
issue-21221.rs:51:6: 51:9 note:  * `std::ops::Mul`
issue-21221.rs:51:6: 51:9 note: which you need to import with the `use` keyword.
issue-21221.rs:69:16: 69:19 error: type name `Mul` is undefined or not in scope [E0412]
issue-21221.rs:69 fn getMul() -> Mul {
                                 ^~~
issue-21221.rs:69:16: 69:19 help: run `rustc --explain E0412` to see a detailed explanation
issue-21221.rs:69:16: 69:19 note: You may be referring to one of: 
issue-21221.rs:69:16: 69:19 note:  * `mul1::Mul`
issue-21221.rs:69:16: 69:19 note:  * `mul2::Mul`
issue-21221.rs:69:16: 69:19 note:  * `mul3::Mul`
issue-21221.rs:69:16: 69:19 note:  * `mul4::Mul`
issue-21221.rs:69:16: 69:19 note:  * `mul5::Mul`
issue-21221.rs:69:16: 69:19 note:  * `std::ops::Mul`
issue-21221.rs:69:16: 69:19 note: which you need to import with the `use` keyword.
issue-21221.rs:80:6: 80:49 error: trait `ThisTraitReallyDoesntExistInAnyModuleReally` is not in scope [E0405]
issue-21221.rs:80 impl ThisTraitReallyDoesntExistInAnyModuleReally for Foo { 
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
issue-21221.rs:80:6: 80:49 help: run `rustc --explain E0405` to see a detailed explanation
issue-21221.rs:85:6: 85:9 error: trait `Div` is not in scope [E0405]
issue-21221.rs:85 impl Div for Foo { 
                       ^~~
issue-21221.rs:85:6: 85:9 help: run `rustc --explain E0405` to see a detailed explanation
issue-21221.rs:85:6: 85:9 note: You may be referring to `std::ops::Div`, which you need to import with the `use` keyword.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment