about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorObei Sideg <obei.sideg@gmail.com>2022-07-08 14:54:11 +0300
committerObei Sideg <obei.sideg@gmail.com>2022-07-08 14:54:11 +0300
commit1b32eb34b36db37902afcaefd49a8da6167cbd30 (patch)
treeb92920b886ceed83409dc6b2632e2ea0f2fc8c59 /compiler/rustc_resolve/src
parentc2436d54d0a4482fe073a8f40686471e89305a44 (diff)
downloadrust-1b32eb34b36db37902afcaefd49a8da6167cbd30.tar.gz
rust-1b32eb34b36db37902afcaefd49a8da6167cbd30.zip
Update ui test for the new E0530 suggestion
Diffstat (limited to 'compiler/rustc_resolve/src')
-rw-r--r--compiler/rustc_resolve/src/diagnostics.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs
index 58361146342..501a81c9032 100644
--- a/compiler/rustc_resolve/src/diagnostics.rs
+++ b/compiler/rustc_resolve/src/diagnostics.rs
@@ -926,8 +926,7 @@ impl<'a> Resolver<'a> {
                             "try specify the pattern arguments",
                             format!("{}(..)", name),
                             Applicability::Unspecified,
-                        )
-                        .emit();
+                        );
                     }
                     _ => (),
                 }