about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-09-22 16:53:20 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2025-09-22 16:53:20 +0300
commita45d58bcb55f3639f07721ca3032d5bec1b0443f (patch)
treee489e55e4a65516c02e19950c48e9ec2601756ae /compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
parent45dda35957ed322c3bccd094dcfa9b925336cc8d (diff)
downloadrust-a45d58bcb55f3639f07721ca3032d5bec1b0443f.tar.gz
rust-a45d58bcb55f3639f07721ca3032d5bec1b0443f.zip
Fix lifetime elision handling for `Fn`-style trait bounds
Two fixes were needed:

 1. Previously, we enabled elision for the generic args of `Fn` itself, instead of for generic args of paths within it.
 2. In lowering in the new solver the `Output` parameter did not have elision set correctly, I don't know why. In the old lowering it was done correctly.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs')
0 files changed, 0 insertions, 0 deletions