diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-07-01 14:13:41 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-07-01 14:13:41 +0200 |
| commit | 13a6aeff77064820de0c412ea8bd914ba2696fe1 (patch) | |
| tree | 13ab6076080b376b00464f51fbfb05480e3d6da9 /src/librustc_error_codes/error_codes | |
| parent | c86039b33343de264d8b3b1a9e3591b10d5615e8 (diff) | |
| download | rust-13a6aeff77064820de0c412ea8bd914ba2696fe1.tar.gz rust-13a6aeff77064820de0c412ea8bd914ba2696fe1.zip | |
Clean up E0715 explanation
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0715.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0715.md b/src/librustc_error_codes/error_codes/E0715.md index 8f0022d9425..b27702b3c26 100644 --- a/src/librustc_error_codes/error_codes/E0715.md +++ b/src/librustc_error_codes/error_codes/E0715.md @@ -15,8 +15,7 @@ struct OverrideConst; impl Marker for OverrideConst { // error! const N: usize = 1; } - -fn main() {} +# fn main() {} ``` Because marker traits are allowed to have multiple implementations for the same |
