about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-01 16:44:11 +0000
committerbors <bors@rust-lang.org>2023-04-01 16:44:11 +0000
commit1ebac28f0d47341173a1271b050e4a07693c8bc6 (patch)
tree619f1d94f6eaf1427b6a3b5c8d6b442b3ba9cafd /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parent1ce25f114d703564741f1395874d4e8eff83beda (diff)
parent25910bcde6aca341dd96fb6a15b964dff7c4b98a (diff)
downloadrust-1ebac28f0d47341173a1271b050e4a07693c8bc6.tar.gz
rust-1ebac28f0d47341173a1271b050e4a07693c8bc6.zip
Auto merge of #14465 - tamasfe:feat/rtn-syntax, r=Veykril
Limited syntax support for return type notations (RTN)

Experimental RTN bound support was recently merged into rustc (https://github.com/rust-lang/rust/issues/109417), the goal of this PR is to allow experimentation without syntax errors everywhere.

The parsing implemented currently aligns with the state of the tracking issue, it only supports the form `T<foo(..): Bounds>`. The parser always checks for the presence of `..` to disambiguate from `Fn*()` types, this is not ideal but I didn't want to spend too much time as it is an experimental feature.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions