mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

fix [type error] for error E0029 and E0277 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