From 898baf81cdaf1682c6cbf6e575fb546741bc73a0 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Sat, 20 Apr 2024 01:16:30 +0000 Subject: [PATCH] Add `test_with_disallowed_name` --- tests/ui/disallowed_names.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/ui/disallowed_names.rs b/tests/ui/disallowed_names.rs index 9a701a2cbcf..13c883409bf 100644 --- a/tests/ui/disallowed_names.rs +++ b/tests/ui/disallowed_names.rs @@ -71,3 +71,8 @@ mod tests { } } } + +#[test] +fn test_with_disallowed_name() { + let foo = 0; +}