First pass at pattern exhaustivess checking

This commit is contained in:
Folkert 2020-03-15 01:10:58 +01:00
parent 5926ac2f01
commit 58c09aeaba
3 changed files with 526 additions and 29 deletions

View file

@ -12,4 +12,8 @@
#![allow(clippy::large_enum_variant)]
pub mod expr;
pub mod layout;
// Temporary, while we can build up test cases and optimize the exhaustiveness checking.
// For now, following this warning's advice will lead to nasty type inference errors.
#[allow(clippy::ptr_arg)]
pub mod pattern;