about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-12 19:03:43 +0200
committerGitHub <noreply@github.com>2024-09-12 19:03:43 +0200
commitcb1d80d1e50a467c5f9fa69a1d46b4213c52dbb5 (patch)
tree110d2cfaf8b185032293ae7b6d075379c2e1d382 /compiler/rustc_codegen_gcc
parent7cae463bdaec4bbc44cc8e9b9a56ca4982811580 (diff)
parent675c99f4d54693af8c7af162968838d6e75ffbee (diff)
downloadrust-cb1d80d1e50a467c5f9fa69a1d46b4213c52dbb5.tar.gz
rust-cb1d80d1e50a467c5f9fa69a1d46b4213c52dbb5.zip
Rollup merge of #130273 - lcnr:overflow-no-constraints, r=compiler-errors
more eagerly discard constraints on overflow

We always discard the results of overflowing goals inside of the trait solver. We previously did so when instantiating the response in `evaluate_goal`. Canonicalizing results only to later discard them is also  inefficient :shrug:

It's simpler and nicer to debug to eagerly discard constraints inside of the query itself.

r? ``@compiler-errors``
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions