From 96708614ba46c42f87b23f2a957c510499d8811e Mon Sep 17 00:00:00 2001 From: John Turner Date: Sun, 21 Dec 2025 04:20:53 +0000 Subject: port to meson cargo Use the new unstable meson cargo support. This simplifies the meson.build script and allows to use crates such as clap that require picking up features from Cargo.toml. This also allows us to not embed thiserror in subprojects, and instead use a wrap file with a custom meson.build and some patches to make it compile without running its build.rs script. --- .../tests/ui/transparent-struct-not-error.stderr | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 subprojects/thiserror/tests/ui/transparent-struct-not-error.stderr (limited to 'subprojects/thiserror/tests/ui/transparent-struct-not-error.stderr') diff --git a/subprojects/thiserror/tests/ui/transparent-struct-not-error.stderr b/subprojects/thiserror/tests/ui/transparent-struct-not-error.stderr deleted file mode 100644 index ee50d03..0000000 --- a/subprojects/thiserror/tests/ui/transparent-struct-not-error.stderr +++ /dev/null @@ -1,18 +0,0 @@ -error[E0599]: the method `as_dyn_error` exists for struct `String`, but its trait bounds were not satisfied - --> tests/ui/transparent-struct-not-error.rs:4:9 - | -4 | #[error(transparent)] - | ^^^^^^^^^^^ method cannot be called on `String` due to unsatisfied trait bounds - | - ::: $RUST/alloc/src/string.rs - | - | pub struct String { - | ----------------- doesn't satisfy `String: AsDynError<'_>` or `String: std::error::Error` - | - = note: the following trait bounds were not satisfied: - `String: std::error::Error` - which is required by `String: AsDynError<'_>` - `str: Sized` - which is required by `str: AsDynError<'_>` - `str: std::error::Error` - which is required by `str: AsDynError<'_>` -- cgit v1.2.3