summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-04-29 11:27:56 +0530
committerGitHub <noreply@github.com>2023-04-29 11:27:56 +0530
commit81910a1b21ecb05980df8d18970595c1729cc030 (patch)
tree7e0605d54f2d79e843fcacde49c3c51ccd478f21 /tests/rustdoc-js-std/parser-errors.js
parent7721c7319d84f1a639a61f4b931303bf24953c27 (diff)
parent4e05cfb5ff5f6c27cc02ca76f7c4809c310371a4 (diff)
downloadrust-81910a1b21ecb05980df8d18970595c1729cc030.tar.gz
Rollup merge of #110965 - compiler-errors:anon-lt-dupe-oops, r=cjgillot
Don't duplicate anonymous lifetimes for async fn in traits `record_lifetime_params_for_async` needs to be called outside of the scope of the function, or else it'll end up collecting anonymous lifetimes twice (those on the function and those within the `AnonymousCreateParameter` rib). This matches how `record_lifetime_params_for_async` is being used for functions with bodies below. This fixes (partially) #110963 when the lifetimes are late-bound, but does not do so when the lifetimes are early-bound (as seen from the known-bug that I added).
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions