summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/effect_param.stderr
blob: dba5d49b7921e1ad2565cfcfeb85e24b080893f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error[E0107]: method takes 0 generic arguments but 1 generic argument was supplied
  --> $DIR/effect_param.rs:11:9
   |
LL |     i8::checked_sub::<false>(42, 43);
   |         ^^^^^^^^^^^--------- help: remove these generics
   |         |
   |         expected 0 generic arguments

error[E0107]: method takes 0 generic arguments but 1 generic argument was supplied
  --> $DIR/effect_param.rs:13:9
   |
LL |     i8::checked_sub::<true>(42, 43);
   |         ^^^^^^^^^^^-------- help: remove these generics
   |         |
   |         expected 0 generic arguments

error[E0107]: method takes 0 generic arguments but 1 generic argument was supplied
  --> $DIR/effect_param.rs:4:9
   |
LL |     i8::checked_sub::<true>(42, 43);
   |         ^^^^^^^^^^^-------- help: remove these generics
   |         |
   |         expected 0 generic arguments

error[E0107]: method takes 0 generic arguments but 1 generic argument was supplied
  --> $DIR/effect_param.rs:6:9
   |
LL |     i8::checked_sub::<false>(42, 43);
   |         ^^^^^^^^^^^--------- help: remove these generics
   |         |
   |         expected 0 generic arguments

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0107`.