Change to Ty::is_inhabited_from
This commit is contained in:
parent
a6d96f9fd7
commit
34cbe72780
9 changed files with 73 additions and 81 deletions
|
|
@ -2,7 +2,7 @@
|
|||
// aux-build:empty.rs
|
||||
//
|
||||
// This tests plays with matching and uninhabited types. This also serves as a test for the
|
||||
// `tcx.is_ty_uninhabited_from()` function.
|
||||
// `Ty::is_inhabited_from` function.
|
||||
#![feature(never_type)]
|
||||
#![feature(never_type_fallback)]
|
||||
#![feature(exhaustive_patterns)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue