report UB when the niche value refers to the untagged variant
This commit is contained in:
parent
ce95a44db6
commit
a36652c274
4 changed files with 29 additions and 21 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue