Improve support for fixed vector patterns#14624
Conversation
There was a problem hiding this comment.
@alexcrichton Should have made this clear. It wasn't so much removed as it was renamed to refutable-pattern-errors.rs now that the error messages aren't as detailed any more (they're not annotated with the specific pattern spans). Which is somewhat unfortunate but making them more detailed in the general case is something I'd like to address separately.
There was a problem hiding this comment.
@alexcrichton Actually, looking at the history of that file, looks like this was introduced very recently: 0df221e In which case, I'll look into how we can preserve that level of detail.
cc @huonw
|
I'm doing this in https://github.com/jakub-/rust/tree/pattern-matching-refactor now. I'll open a new PR once that's mergable. |
Fix panic in const eval and parameter destructing fix rust-lang#14624
This is WIP, I want to get some numbers on the cost of using the slow-path exhaustiveness logic in let and function args.