Add E0111

Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
This commit is contained in:
varkor 2019-02-15 22:24:22 +00:00
parent 475f20c73d
commit ddf881110d

View File

@ -1326,6 +1326,10 @@ type X = u32; // ok!
```
"##,
E0111: r##"
You tried to give a const parameter to a type which doesn't need it.
"##,
E0116: r##"
You can only define an inherent implementation for a type in the same crate
where the type was defined. For example, an `impl` block as below is not allowed