summaryrefslogtreecommitdiff
path: root/subprojects/thiserror/tests/ui/lifetime.stderr
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-12-21 04:20:53 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-12-22 08:05:20 +0000
commit96708614ba46c42f87b23f2a957c510499d8811e (patch)
tree372dcf90f1a6fdf1b90f5d006ce7a32717f47166 /subprojects/thiserror/tests/ui/lifetime.stderr
parent0ec856797256b5d9807929e1b32c03756eb43124 (diff)
downloadgentoo-utils-master.tar.gz
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.
Diffstat (limited to 'subprojects/thiserror/tests/ui/lifetime.stderr')
-rw-r--r--subprojects/thiserror/tests/ui/lifetime.stderr11
1 files changed, 0 insertions, 11 deletions
diff --git a/subprojects/thiserror/tests/ui/lifetime.stderr b/subprojects/thiserror/tests/ui/lifetime.stderr
deleted file mode 100644
index 8b58136..0000000
--- a/subprojects/thiserror/tests/ui/lifetime.stderr
+++ /dev/null
@@ -1,11 +0,0 @@
-error: non-static lifetimes are not allowed in the source of an error, because std::error::Error requires the source is dyn Error + 'static
- --> tests/ui/lifetime.rs:6:26
- |
-6 | struct Error<'a>(#[from] Inner<'a>);
- | ^^^^^^^^^
-
-error: non-static lifetimes are not allowed in the source of an error, because std::error::Error requires the source is dyn Error + 'static
- --> tests/ui/lifetime.rs:15:17
- |
-15 | Foo(#[from] Generic<&'a str>),
- | ^^^^^^^^^^^^^^^^