about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-11-05 11:31:29 +0530
committerGitHub <noreply@github.com>2022-11-05 11:31:29 +0530
commit2d8f0838b1fa3ae5d13c27a0dd5cdb7531e8e91b (patch)
tree6977cc88894a6759edcf3c6d08600e4326b0202e /compiler/rustc_codegen_gcc
parent9e67f6a68d6a46fd40cc277ddf0dd1c98fd56777 (diff)
parent74fec9b95ad308c3dc064bb38778aea4ec51f5ee (diff)
downloadrust-2d8f0838b1fa3ae5d13c27a0dd5cdb7531e8e91b.tar.gz
rust-2d8f0838b1fa3ae5d13c27a0dd5cdb7531e8e91b.zip
Rollup merge of #103867 - compiler-errors:no-has-errors, r=cjgillot
Remove `has_errors` from `FnCtxt`

It doesn't seem like this `has_errors` flag actually suppresses any errors (at least in the UI test suite) --- except for one test (`E0767.rs`), and I think that error really should be considered legitimate, since it has nothing to do with the error code and continues to exist after you fix the first error...

This flag was added by ```@eddyb``` in 6b3cc0b8c8094407a3b5ea75f946c682d6d0142a, and it's likely that it was made redundant due to subsequent restructuring of the compiler.

It only affects block type-checking anyways, so its effect does seem limited these days anyway.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions