From 9918693037dce8aa4bb6f08741b6812923486c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 11:26:03 +0200 Subject: Merging upstream version 1.76.0+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/resolve/resolve-dont-hint-macro.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/ui/resolve/resolve-dont-hint-macro.rs (limited to 'tests/ui/resolve/resolve-dont-hint-macro.rs') diff --git a/tests/ui/resolve/resolve-dont-hint-macro.rs b/tests/ui/resolve/resolve-dont-hint-macro.rs new file mode 100644 index 000000000..da1752b33 --- /dev/null +++ b/tests/ui/resolve/resolve-dont-hint-macro.rs @@ -0,0 +1,4 @@ +fn main() { + let zero = assert_eq::<()>(); + //~^ ERROR expected function, found macro `assert_eq` +} -- cgit v1.2.3