mirror of
https://github.com/Zenithsiz/zbuild.git
synced 2026-02-03 22:23:53 +00:00
Added some allows for missing copy implementations.
These seem to be intermittent, so we might need to lower them to `allow` in the future.
This commit is contained in:
parent
bac6ab4e21
commit
53709be359
@ -166,6 +166,10 @@ pub struct Pattern<'a> {
|
||||
|
||||
/// Pattern operator
|
||||
#[derive(PartialEq, Eq, Clone, Hash, Debug)]
|
||||
#[expect(
|
||||
missing_copy_implementations,
|
||||
reason = "We might add non-`Copy` fields in the future"
|
||||
)]
|
||||
pub enum PatternOp {
|
||||
/// Non-empty
|
||||
NonEmpty,
|
||||
@ -173,7 +177,6 @@ pub enum PatternOp {
|
||||
|
||||
/// Alias
|
||||
#[derive(PartialEq, Eq, Clone, Hash, Debug)]
|
||||
/// Alias
|
||||
pub struct Alias<'a> {
|
||||
/// Alias name
|
||||
pub name: &'a str,
|
||||
@ -184,6 +187,10 @@ pub struct Alias<'a> {
|
||||
|
||||
/// Alias operator
|
||||
#[derive(PartialEq, Eq, Clone, Hash, Debug)]
|
||||
#[expect(
|
||||
missing_copy_implementations,
|
||||
reason = "We might add non-`Copy` fields in the future"
|
||||
)]
|
||||
pub enum AliasOp {
|
||||
/// Directory name
|
||||
DirName,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user