Skip to content

Commit 5ef3eb6

Browse files
committed
stabilize feature(never_type)
1 parent 4157667 commit 5ef3eb6

File tree

102 files changed

+850
-492
lines changed

Some content is hidden

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

102 files changed

+850
-492
lines changed

compiler/rustc_ast_passes/src/feature_gate.rs

-3
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
424424
ast::TyKind::BareFn(ref bare_fn_ty) => {
425425
self.check_extern(bare_fn_ty.ext);
426426
}
427-
ast::TyKind::Never => {
428-
gate_feature_post!(&self, never_type, ty.span, "the `!` type is experimental");
429-
}
430427
_ => {}
431428
}
432429
visit::walk_ty(self, ty)

0 commit comments

Comments
 (0)