Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/infer/path.rs')
-rw-r--r--crates/hir-ty/src/infer/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/infer/path.rs b/crates/hir-ty/src/infer/path.rs
index 81daf66ac1..c6bbf2f614 100644
--- a/crates/hir-ty/src/infer/path.rs
+++ b/crates/hir-ty/src/infer/path.rs
@@ -191,7 +191,7 @@ impl InferenceContext<'_> {
path.segments().skip(remaining_index),
)
}
- Path::LangItem(_, seg) => (
+ Path::LangItem(..) => (
PathSegment {
name: {
_d = hir_expand::name::known::Unknown;