Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(expr)!: revert recursive Cow<[Expression]> back to Vec
This fails to build on 1.65: ``` error[E0277]: the trait bound `[SetItem]: ToOwned` is not satisfied in `Expression` --> src/stmt.rs:245:14 | 245 | pub dev: Option<Expression>, | ^^^^^^^^^^^^^^^^^^ within `Expression`, the trait `ToOwned` is not implemented for `[SetItem]`, which is required by `Expression: Sized` | = help: the trait `ToOwned` is implemented for `[T]` note: required because it appears within the type `Expression` --> src/expr.rs:10:10 | 10 | pub enum Expression { | ^^^^^^^^^^ note: required by an implicit `Sized` bound in `std::option::Option` --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/option.rs:572:1 ...and many, many similar errors ``` It compiles successfully on Rust >=1.79, so this commit can be reverted once our MSRV reaches it.
- Loading branch information