summaryrefslogtreecommitdiff
path: root/compiler/rustc_hir_typeck/src/expr.rs
diff options
context:
space:
mode:
authormu001999 <mu001999@outlook.com>2023-05-17 16:59:39 +0800
committermu001999 <mu001999@outlook.com>2023-05-17 16:59:39 +0800
commitdb645124221a1e2d3e70b14fbedef019e036c066 (patch)
tree779d30fa51059b0064d96fc2a0d03effeb2b1080 /compiler/rustc_hir_typeck/src/expr.rs
parentbc888958c9e1fdde09791f15d3421bdc3b6d7d29 (diff)
downloadrust-db645124221a1e2d3e70b14fbedef019e036c066.tar.gz
Emits E0599 when meeting MyTrait::missing_method
Diffstat (limited to 'compiler/rustc_hir_typeck/src/expr.rs')
-rw-r--r--compiler/rustc_hir_typeck/src/expr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_typeck/src/expr.rs b/compiler/rustc_hir_typeck/src/expr.rs
index bba049c3819..8ea159bba74 100644
--- a/compiler/rustc_hir_typeck/src/expr.rs
+++ b/compiler/rustc_hir_typeck/src/expr.rs
@@ -1245,6 +1245,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
error,
Some((rcvr, args)),
expected,
+ false,
) {
err.emit();
}