about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-01-28 11:08:22 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-02-11 08:52:08 +0000
commitf1f996a4d590e3d75eb5c5dab5098b7ae2ebf7eb (patch)
tree15bfc8cc76b973e68049d66969c6a132f319e8b5 /compiler/rustc_lint/src/lib.rs
parent5bae8ca77c3f6a0050a58b1bc96ee3d51d3feb32 (diff)
downloadrust-f1f996a4d590e3d75eb5c5dab5098b7ae2ebf7eb.tar.gz
rust-f1f996a4d590e3d75eb5c5dab5098b7ae2ebf7eb.zip
Handle pattern types wrapped in `Option` in FFI checks
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
-rw-r--r--compiler/rustc_lint/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs
index d89e615e14a..c8de5e87753 100644
--- a/compiler/rustc_lint/src/lib.rs
+++ b/compiler/rustc_lint/src/lib.rs
@@ -33,6 +33,7 @@
 #![feature(let_chains)]
 #![feature(rustc_attrs)]
 #![feature(rustdoc_internals)]
+#![feature(try_blocks)]
 #![warn(unreachable_pub)]
 // tidy-alphabetical-end