]> git.lizzy.rs Git - rust.git/commitdiff
fix [type error] for error E0029 and E0277
authorYiming Lei <yiming.lei@futurewei.com>
Thu, 5 Jan 2023 17:12:37 +0000 (09:12 -0800)
committerYiming Lei <yiming.lei@futurewei.com>
Fri, 6 Jan 2023 05:21:13 +0000 (21:21 -0800)
check explicitly for the type references error
if ty.references_error() is true change the error to be err.delay_as_bug()
and prevent the error E0029 and E0277 from emitting out
this fix #105946


No differences found