]> git.lizzy.rs Git - rust.git/commitdiff
Fix UI test fallout
authorvarkor <github@varkor.com>
Sat, 26 Sep 2020 19:14:16 +0000 (20:14 +0100)
committervarkor <github@varkor.com>
Sat, 26 Sep 2020 19:14:16 +0000 (20:14 +0100)
src/test/ui/const-generics/const_evaluatable_checked/from-sig-fail.stderr

index a5acfec34aa87feaa054540ec58a11b9e5eadb47..25af18eb162d5924ac9e71e719a4fb18ab3e9b46 100644 (file)
@@ -2,7 +2,7 @@ error[E0080]: evaluation of constant value failed
   --> $DIR/from-sig-fail.rs:4:35
    |
 LL | fn test<const N: usize>() -> [u8; N - 1] {
-   |                                   ^^^^^ attempt to compute `0_usize - 1_usize` which would overflow
+   |                                   ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
 
 error: aborting due to previous error