about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorSebastian Ziebell <sebastian.ziebell@ferrous-systems.com>2023-04-17 11:34:04 +0200
committerSebastian Ziebell <sebastian.ziebell@ferrous-systems.com>2023-04-17 12:36:32 +0200
commitc1712e55c6d7fbb9d7ccef5de0be0b1c41033219 (patch)
treef050e57bc79658fa16d2707a78ddc82dee92f8a3 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent600283f2de12b40fbe60a6cade3650785ef0bbbc (diff)
downloadrust-c1712e55c6d7fbb9d7ccef5de0be0b1c41033219.tar.gz
rust-c1712e55c6d7fbb9d7ccef5de0be0b1c41033219.zip
Restrict "sort items" assist inside Impl & Trait
This fixes the applicability of the "sort items alphabetically" assist
when the selection is inside a `Trait` or `Impl`. It's now tested if the
selection is inside or overlaps with an inner node, e.g. associated
const or type alias, function.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions