derive_aliases 0.4.7

`#[derive]` aliases for reducing code boilerplate
Documentation
error: expected identifier to form a path like `::std::hash::Hash`
 --> tests/ui/missing_last_segment.rs:3:44
  |
3 |         Eq = ::core::cmp::Eq, ::core::cmp::;
  |                                            ^

error: to avoid surprises, path to derive in alias definition must be absolute - meaning it must start with `::`

       for example, use `::std::hash::Hash` instead of `std::hash::Hash` and use `::core::marker::Copy` instead of just `Copy`
 --> tests/ui/missing_last_segment.rs:5:9
  |
5 |         AndMore = ::std::hash::Hash, ..Ord, ::core::clone::Clone, ::core::marker::Copy, ::core::default::Default;
  |         ^^^^^^^

error[E0432]: unresolved import `crate`
 --> tests/ui/missing_last_segment.rs:2:5
  |
2 | /     derive_aliases::define! {
3 | |         Eq = ::core::cmp::Eq, ::core::cmp::;
4 | |         //                                  ^ missing last segment
5 | |         AndMore = ::std::hash::Hash, ..Ord, ::core::clone::Clone, ::core::marker::Copy, ::core::default::Default;
6 | |     }
  | |_____^ no `Eq` in `derive_alias`
  |
  = note: this error originates in the macro `derive_aliases::define` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this trait instead
  |
2 -     derive_aliases::define! {
3 -         Eq = ::core::cmp::Eq, ::core::cmp::;
4 -         //                                  ^ missing last segment
5 -         AndMore = ::std::hash::Hash, ..Ord, ::core::clone::Clone, ::core::marker::Copy, ::core::default::Default;
6 -     }
2 +     std::cmp::Eq as _
  |

error[E0433]: failed to resolve: could not find `Ord` in `derive_alias`
 --> tests/ui/missing_last_segment.rs:5:40
  |
5 |         AndMore = ::std::hash::Hash, ..Ord, ::core::clone::Clone, ::core::marker::Copy, ::core::default::Default;
  |                                        ^^^ could not find `Ord` in `derive_alias`