diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/consts/uninhabited-const-issue-61744.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/consts/uninhabited-const-issue-61744.rs b/src/test/ui/consts/uninhabited-const-issue-61744.rs index 860628c39..a07c39882 100644 --- a/src/test/ui/consts/uninhabited-const-issue-61744.rs +++ b/src/test/ui/consts/uninhabited-const-issue-61744.rs @@ -1,8 +1,7 @@ // build-fail pub const unsafe fn fake_type<T>() -> T { - hint_unreachable() //~ ERROR any use of this value will cause an error [const_err] - //~| WARN this was previously accepted by the compiler but is being phased out + hint_unreachable() //~ ERROR evaluation of `<i32 as Const>::CONSTANT` failed } pub const unsafe fn hint_unreachable() -> ! { |