From 2cd13e67673cee27cf25fe55c5ceb277b687272b Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 16 Aug 2025 10:25:30 -0700 Subject: [PATCH] Make error_generic_member_access compatible with -Dwarnings --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index e4b9dfd..8f1f36b 100644 --- a/build.rs +++ b/build.rs @@ -120,6 +120,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool { .arg("--crate-type=lib") .arg("--cap-lints=allow") .arg("--emit=dep-info,metadata") + .arg("--cap-lints=allow") .arg("--out-dir") .arg(&out_subdir) .arg(probefile);