error: expected alias name (identifier)
--> tests/ui/syntax_error_missing_alias_name.rs:3:9
|
3 | = ::core::cmp::Eq, ::core::cmp::PartialEq;
| ^
error[E0432]: unresolved import `crate`
--> tests/ui/syntax_error_missing_alias_name.rs:2:5
|
2 | / derive_aliases::define! {
3 | | = ::core::cmp::Eq, ::core::cmp::PartialEq;
4 | | // ^ missing name
5 | | AndMore = ::std::hash::Hash, ..Ord, ::core::clone::Clone, ::core::marker::Copy, ::core::default::Default;
6 | | }
| |_____^ no `AndMore` in `derive_alias`
|
= note: this error originates in the macro `derive_aliases::define` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0433]: failed to resolve: could not find `Ord` in `derive_alias`
--> tests/ui/syntax_error_missing_alias_name.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`