Improve E0260

This commit is contained in:
Manish Goregaokar 2015-07-19 18:34:06 +05:30
parent 74768e9a6c
commit d6be183af1

View file

@ -1002,6 +1002,14 @@ you prefer them unqualified, you can import the variants into scope:
use Method::*;
enum Method { GET, POST }
```
If you want others to be able to import variants from your module directly, use
`pub use`:
```
pub use Method::*;
enum Method { GET, POST }
```
"##,
E0261: r##"