diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2023-12-10 20:42:30 +0100 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2023-12-11 11:20:55 +0100 |
| commit | 281002d42c3465319181a0af50d7068935477be2 (patch) | |
| tree | 0ba2cc29dbad496ca8a5f951c5b058c07f1b0dfc /compiler/rustc_pattern_analysis/src/lib.rs | |
| parent | 61afc9c92896a43fce92bd5e3bba6274c5e3e960 (diff) | |
| download | rust-281002d42c3465319181a0af50d7068935477be2.tar.gz rust-281002d42c3465319181a0af50d7068935477be2.zip | |
Extract exhaustiveness into its own crate
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/lib.rs')
| -rw-r--r-- | compiler/rustc_pattern_analysis/src/lib.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/compiler/rustc_pattern_analysis/src/lib.rs b/compiler/rustc_pattern_analysis/src/lib.rs new file mode 100644 index 00000000000..bf131a37809 --- /dev/null +++ b/compiler/rustc_pattern_analysis/src/lib.rs @@ -0,0 +1,13 @@ +//! Analysis of patterns, notably match exhaustiveness checking. + +pub mod constructor; +pub mod errors; +pub mod pat; +pub mod usefulness; + +#[macro_use] +extern crate tracing; +#[macro_use] +extern crate rustc_middle; + +rustc_fluent_macro::fluent_messages! { "../messages.ftl" } |
