diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-08-31 16:32:56 -0700 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-08-31 19:33:08 -0700 |
| commit | e13a70122d380579840cec13d151870495f776ac (patch) | |
| tree | fb3432b9ee0ee1d48101fe0eb11e1ed0b2c0dcd8 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | 37ea97cc10212711411e6dbb6b260e668b7ac2b5 (diff) | |
| download | rust-e13a70122d380579840cec13d151870495f776ac.tar.gz rust-e13a70122d380579840cec13d151870495f776ac.zip | |
Redefine `Debug` instead of importing it
This reverts commit 7e2548fe69ff5ec4e5e06c8c28351cbf2ebf7eee.
Now I know why it was redefined: it seems like it's potentially because
of the orphan rule. Here are the error messages:
error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `!`:
--> src/primitive_docs.rs:236:1
|
6 | impl Debug for ! {
| ^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `core`:
- impl std::fmt::Debug for !;
error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
--> src/primitive_docs.rs:236:1
|
6 | impl Debug for ! {
| ^^^^^^^^^^^^^^^-
| | |
| | `!` is not defined in the current crate
| impl doesn't use only types from inside the current crate
|
= note: define and implement a trait or new type instead
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
