Skip to content

Commit 9a332c8

Browse files
stabilize never type
1 parent c48ee1c commit 9a332c8

File tree

147 files changed

+575
-434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+575
-434
lines changed

compiler/rustc_ast_passes/src/feature_gate.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
437437
ast::TyKind::BareFn(ref bare_fn_ty) => {
438438
self.check_extern(bare_fn_ty.ext);
439439
}
440-
ast::TyKind::Never => {
441-
gate_feature_post!(&self, never_type, ty.span, "the `!` type is experimental");
442-
}
443440
_ => {}
444441
}
445442
visit::walk_ty(self, ty)

0 commit comments

Comments
 (0)