Skip to content

Commit

Permalink
update diagnostics E0109 about None::<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
liigo committed Jul 8, 2015
1 parent 67256df commit 6a9f4db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc/diagnostics.rs
Expand Up @@ -375,6 +375,9 @@ Example:
```
type X = u32; // ok!
```
Note that type parameters for enum-variant constructors go after the variant,
not after the enum (Option::None::<u32>, not Option::<u32>::None).
"##,

E0110: r##"
Expand Down

0 comments on commit 6a9f4db

Please sign in to comment.