summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-18 13:26:47 +0100
committerGitHub <noreply@github.com>2023-02-18 13:26:47 +0100
commitd3d516392173ea33e3b5f6d50fefc2abdda6b4f7 (patch)
tree1b4909de1000a3ed860bbf6e2d28166b10cb9b6e /tests/rustdoc-js-std/parser-errors.js
parent7f9d9de82d1a3e2ff7bd8997f74b2802d7fdaed2 (diff)
parent5ec812ddfdb3bcd46bbe10788672684c9c4854c6 (diff)
downloadrust-d3d516392173ea33e3b5f6d50fefc2abdda6b4f7.tar.gz
rust-d3d516392173ea33e3b5f6d50fefc2abdda6b4f7.zip
Rollup merge of #108186 - compiler-errors:closures-with-late-bound-types-r-bad, r=cjgillot
Deny non-lifetime bound vars in `for<..> ||` closure binders

Moves the check for illegal bound var types from astconv to resolve_bound_vars. If a binder is defined to have a type or const late-bound var that's not allowed, we'll resolve any usages to ty error or const error values, so we shouldn't ever see late-bound types or consts in places they aren't expected.

Fixes #108184
Fixes #108181
Fixes #108192
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions