diff options
Diffstat (limited to 'tests/ui/lint/rfc-2383-lint-reason/avoid_delayed_good_path_ice.rs')
-rw-r--r-- | tests/ui/lint/rfc-2383-lint-reason/avoid_delayed_good_path_ice.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/lint/rfc-2383-lint-reason/avoid_delayed_good_path_ice.rs b/tests/ui/lint/rfc-2383-lint-reason/avoid_delayed_good_path_ice.rs new file mode 100644 index 000000000..912e831d8 --- /dev/null +++ b/tests/ui/lint/rfc-2383-lint-reason/avoid_delayed_good_path_ice.rs @@ -0,0 +1,8 @@ +// check-pass +#![feature(lint_reasons)] + +#[expect(drop_bounds)] +fn trigger_rustc_lints<T: Drop>() { +} + +fn main() {} |