Add never_patterns feature gate
This commit is contained in:
parent
bf86fe130c
commit
02e50f03bf
6 changed files with 8 additions and 2 deletions
|
|
@ -629,6 +629,7 @@ impl<'a, 'tcx> PrintVisitor<'a, 'tcx> {
|
|||
|
||||
match pat.value.kind {
|
||||
PatKind::Wild => kind!("Wild"),
|
||||
PatKind::Never => kind!("Never"),
|
||||
PatKind::Binding(ann, _, name, sub) => {
|
||||
bind!(self, name);
|
||||
opt_bind!(self, sub);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue