mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 03:36:21 +00:00

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