2023-07-18 10:25:58 -05:00
|
|
|
error: exported type named `Error` that implements `Error`
|
|
|
|
--> $DIR/error_impl_error.rs:7:16
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
2023-07-06 21:58:11 -05:00
|
|
|
LL | pub struct Error;
|
|
|
|
| ^^^^^
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
|
|
|
note: `Error` was implemented here
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/error_impl_error.rs:16:5
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
|
|
|
LL | impl std::error::Error for Error {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
= note: `-D clippy::error-impl-error` implied by `-D warnings`
|
|
|
|
|
2023-07-18 10:25:58 -05:00
|
|
|
error: exported type named `Error` that implements `Error`
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/error_impl_error.rs:21:21
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
2023-07-18 10:25:58 -05:00
|
|
|
LL | pub(super) enum Error {}
|
|
|
|
| ^^^^^
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
|
|
|
note: `Error` was implemented here
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/error_impl_error.rs:30:5
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
|
|
|
LL | impl std::error::Error for Error {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-07-18 10:25:58 -05:00
|
|
|
error: exported type named `Error` that implements `Error`
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/error_impl_error.rs:34:15
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
2023-07-06 21:58:11 -05:00
|
|
|
LL | pub union Error {
|
|
|
|
| ^^^^^
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
|
|
|
note: `Error` was implemented here
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/error_impl_error.rs:52:5
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
|
|
|
LL | impl std::error::Error for Error {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-07-18 10:25:58 -05:00
|
|
|
error: exported type alias named `Error` that implements `Error`
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/error_impl_error.rs:56:14
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
2023-07-06 21:58:11 -05:00
|
|
|
LL | pub type Error = std::fmt::Error;
|
|
|
|
| ^^^^^
|
2023-07-04 13:36:56 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|