diff options
| author | varkor <github@varkor.com> | 2019-02-15 22:24:22 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-02-15 22:28:49 +0000 |
| commit | ddf881110dc496c56b0b7c3b423ed9692af77ff4 (patch) | |
| tree | e3a96ae9e6633f51dce1c4e8d1d2c9d044173b5b | |
| parent | 475f20c73db54517255416b66db2edb304e85729 (diff) | |
| download | rust-ddf881110dc496c56b0b7c3b423ed9692af77ff4.tar.gz rust-ddf881110dc496c56b0b7c3b423ed9692af77ff4.zip | |
Add E0111
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 71767fcfd49..3c4a0760f3e 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -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 |
