mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
c2ad283f4e
Correctly check `never_type` feature gating Fixes #120542. The feature wasn't tested on return type of a generic function type, so it got under the radar in https://github.com/rust-lang/rust/pull/120316. r? ```@compiler-errors```