diff options
Diffstat (limited to 'tests/ui/const-generics/generic_const_exprs/from-sig-fail.stderr')
-rw-r--r-- | tests/ui/const-generics/generic_const_exprs/from-sig-fail.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/const-generics/generic_const_exprs/from-sig-fail.stderr b/tests/ui/const-generics/generic_const_exprs/from-sig-fail.stderr index bd71b49ee..080e92025 100644 --- a/tests/ui/const-generics/generic_const_exprs/from-sig-fail.stderr +++ b/tests/ui/const-generics/generic_const_exprs/from-sig-fail.stderr @@ -4,6 +4,6 @@ error[E0080]: evaluation of `test::<0>::{constant#0}` failed LL | fn test<const N: usize>() -> [u8; N - 1] { | ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0080`. |