]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #105769 - lyming2007:issue-105177-fix, r=eholk
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 22 Dec 2022 10:03:50 +0000 (11:03 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Dec 2022 10:03:50 +0000 (11:03 +0100)
add function to tell the identical errors for ambiguity_errors

if 2 errors of the kind and ident and span of the ident, b1, b2 and misc1 misc2 are the same we call these 2 ambiguity errors identical
prevent identical ambiguity error from pushing into vector of ambiguity_errors this will fix #105177

1  2 
compiler/rustc_resolve/src/lib.rs

Simple merge