bless tests

This commit is contained in:
Ralf Jung 2020-03-13 08:52:04 +01:00
parent e9c96570d6
commit 13ea774513
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ warning: any use of this value will cause an error
LL | unsafe { std::mem::transmute(()) }
| ^^^^^^^^^^^^^^^^^^^^^^^
| |
| entering unreachable code
| transmuting to uninhabited type
| inside call to `foo` at $DIR/validate_uninhabited_zsts.rs:14:26
...
LL | const FOO: [Empty; 3] = [foo(); 3];