about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-23 20:40:01 +0530
committerGitHub <noreply@github.com>2022-08-23 20:40:01 +0530
commit4d1c273b32acb8302013236b57b78cba1b3228c3 (patch)
tree7f885eb61f5914fe8771e23c4818e88c14176151 /src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff
parent1cff5642037b83ce1239a624bbe617a9aa0d59b1 (diff)
parentdff428013dde1e89b6c644b9649f0dc53ceac354 (diff)
downloadrust-4d1c273b32acb8302013236b57b78cba1b3228c3.tar.gz
rust-4d1c273b32acb8302013236b57b78cba1b3228c3.zip
Rollup merge of #99249 - cjgillot:no-reparse-fn, r=fee1-dead
Do not re-parse function signatures to suggest generics

This PR uses the existing resolution rib infrastructure to channel the correct span information to suggest generic parameters.  This allows to avoid re-parsing a function's source code.

Drive-by cleanup: this removes useless `FnItemRibKind` from late resolution ribs.  All the use cases are already covered by `ItemRibKind` and `AssocItemRibKind` which have more precise semantics.
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_len.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions