Skip to content

Commit ddf8811

Browse files
varkoryodaldevoid
andcommitted
Add E0111
Co-Authored-By: Gabriel Smith <[email protected]>
1 parent 475f20c commit ddf8811

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustc_typeck/diagnostics.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,10 @@ type X = u32; // ok!
13261326
```
13271327
"##,
13281328

1329+
E0111: r##"
1330+
You tried to give a const parameter to a type which doesn't need it.
1331+
"##,
1332+
13291333
E0116: r##"
13301334
You can only define an inherent implementation for a type in the same crate
13311335
where the type was defined. For example, an `impl` block as below is not allowed

0 commit comments

Comments
 (0)