about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-26 17:06:40 +0100
committerGitHub <noreply@github.com>2024-03-26 17:06:40 +0100
commit1fd3ee0660e7de642c2885b0b90e1bf10cd694ea (patch)
tree2134f98ac3c2cc0c745d75a87cd5767bb0f84055 /compiler/rustc_interface/src/errors.rs
parent6ecbc343f73de10d7c9d9804157318b16581b457 (diff)
parent70e1d23895f861ef6c3d936a91dd5f31e4ca0a40 (diff)
downloadrust-1fd3ee0660e7de642c2885b0b90e1bf10cd694ea.tar.gz
rust-1fd3ee0660e7de642c2885b0b90e1bf10cd694ea.zip
Rollup merge of #123066 - maurer:cfi-erased-lifetime-ice, r=compiler-errors
CFI: (actually) check that methods are object-safe before projecting their receivers to `dyn Trait` in CFI

`trait_object_ty` assumed that associated types would be fully determined by the trait. This is *almost* true - const parameters and type parameters are no longer allowed, but lifetime parameters are. Since we erase all lifetime parameters anyways, instantiate it with as many erased regions as it needs.

Fixes: #123053

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