From 2e659f58940a31fa625e88f75f78111ed773f32d Mon Sep 17 00:00:00 2001 From: Oneirical Date: Wed, 20 Aug 2025 14:02:39 -0400 Subject: Add test batch 1 --- tests/ui/parser/partial-eq-trait-bound-5572.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/ui/parser/partial-eq-trait-bound-5572.rs (limited to 'tests/ui/parser') diff --git a/tests/ui/parser/partial-eq-trait-bound-5572.rs b/tests/ui/parser/partial-eq-trait-bound-5572.rs new file mode 100644 index 00000000000..7ee0cdc43ee --- /dev/null +++ b/tests/ui/parser/partial-eq-trait-bound-5572.rs @@ -0,0 +1,7 @@ +// https://github.com/rust-lang/rust/issues/5572 +//@ check-pass +#![allow(dead_code)] + +fn foo(_t: T) { } + +pub fn main() { } -- cgit 1.4.1-3-g733a5