about summary refs log tree commit diff
path: root/src/test/ui/consts
diff options
context:
space:
mode:
authorArtur Sinila <personal@logarithmus.dev>2022-07-19 02:25:14 +0300
committerArtur Sinila <personal@logarithmus.dev>2022-07-19 02:35:48 +0300
commitc39826e3fac3a3d63a75355d87b6a62ff3cbb8cb (patch)
treee373681311ca2585372c968ddb964016302e5976 /src/test/ui/consts
parentf8588549c3c3d45c32b404210cada01e2a45def3 (diff)
feat: omit suffixes in const generics (e.g. `1_i32`)
Closes #99255
Diffstat (limited to 'src/test/ui/consts')
-rw-r--r--src/test/ui/consts/const-eval/issue-85155.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/consts/const-eval/issue-85155.stderr b/src/test/ui/consts/const-eval/issue-85155.stderr
index c36d7c17215..3d2c76b7ed0 100644
--- a/src/test/ui/consts/const-eval/issue-85155.stderr
+++ b/src/test/ui/consts/const-eval/issue-85155.stderr
@@ -1,10 +1,10 @@
-error[E0080]: evaluation of `post_monomorphization_error::ValidateConstImm::<2_i32, 0_i32, 1_i32>::VALID` failed
+error[E0080]: evaluation of `post_monomorphization_error::ValidateConstImm::<2, 0, 1>::VALID` failed
   --> $DIR/auxiliary/post_monomorphization_error.rs:7:17
    |
 LL |         let _ = 1 / ((IMM >= MIN && IMM <= MAX) as usize);
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to divide `1_usize` by zero
 
-note: the above error was encountered while instantiating `fn post_monomorphization_error::stdarch_intrinsic::<2_i32>`
+note: the above error was encountered while instantiating `fn post_monomorphization_error::stdarch_intrinsic::<2>`
   --> $DIR/issue-85155.rs:19:5
    |
 LL |     post_monomorphization_error::stdarch_intrinsic::<2>();