Skip to content

Commit 14be209

Browse files
authored
Merge pull request #292 from dtolnay/deadcode
Make compatible with -Dwarnings
2 parents f55a5d2 + 15a1d64 commit 14be209

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
8484
.arg("--edition=2018")
8585
.arg("--crate-name=thiserror")
8686
.arg("--crate-type=lib")
87+
.arg("--cap-lints=allow")
8788
.arg("--emit=dep-info,metadata")
8889
.arg("--out-dir")
8990
.arg(out_dir)

0 commit comments

Comments
 (0)