report UB when the niche value refers to the untagged variant
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#![feature(never_type)]
|
||||
#![feature(rustdoc_internals)]
|
||||
#![feature(slice_ptr_get)]
|
||||
#![feature(strict_overflow_ops)]
|
||||
#![feature(trait_alias)]
|
||||
#![feature(try_blocks)]
|
||||
#![feature(unqualified_local_imports)]
|
||||
|
||||
Reference in New Issue
Block a user