diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-15 11:01:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-15 11:01:08 -0700 |
| commit | 7307af1f1c015bd1f2c8a200f1542ee624ce12a2 (patch) | |
| tree | d6e450492cd9706026750048796b94c0a33c7678 /src/librustc_error_codes/error_codes | |
| parent | af3d4cb936592ba53593ba869213c1af61b4166f (diff) | |
| parent | 13a6aeff77064820de0c412ea8bd914ba2696fe1 (diff) | |
| download | rust-7307af1f1c015bd1f2c8a200f1542ee624ce12a2.tar.gz rust-7307af1f1c015bd1f2c8a200f1542ee624ce12a2.zip | |
Rollup merge of #73918 - GuillaumeGomez:cleanup-e0715, r=Dylan-DPC
Clean up E0715 explanation r? @Dylan-DPC
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 |
