summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/resolve-dont-hint-macro.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/resolve-dont-hint-macro.rs')
-rw-r--r--tests/ui/resolve/resolve-dont-hint-macro.rs4
1 files changed, 4 insertions, 0 deletions
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`
+}