Skip to content

Commit

Permalink
stabilize feature(never_type)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Nov 27, 2020
1 parent 4157667 commit 5ef3eb6
Show file tree
Hide file tree
Showing 102 changed files with 850 additions and 492 deletions.
3 changes: 0 additions & 3 deletions compiler/rustc_ast_passes/src/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
ast::TyKind::BareFn(ref bare_fn_ty) => {
self.check_extern(bare_fn_ty.ext);
}
ast::TyKind::Never => {
gate_feature_post!(&self, never_type, ty.span, "the `!` type is experimental");
}
_ => {}
}
visit::walk_ty(self, ty)
Expand Down
Loading

0 comments on commit 5ef3eb6

Please sign in to comment.