rust/tests/ui/consts/effect_param.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-10-17 12:52:11 -05:00
error[E0107]: method takes 0 generic arguments but 1 generic argument was supplied
2023-11-11 22:33:19 -06:00
--> $DIR/effect_param.rs:11:9
2023-10-17 12:52:11 -05:00
|
LL | i8::checked_sub::<false>(42, 43);
2024-07-22 17:51:53 -05:00
| ^^^^^^^^^^^--------- help: remove the unnecessary generics
| |
| expected 0 generic arguments
2023-10-17 12:52:11 -05:00
2023-11-11 22:33:19 -06:00
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);
2024-07-22 17:51:53 -05:00
| ^^^^^^^^^^^-------- help: remove the unnecessary generics
| |
| expected 0 generic arguments
2023-11-11 22:33:19 -06:00
2023-10-17 12:52:11 -05:00
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);
2024-07-22 17:51:53 -05:00
| ^^^^^^^^^^^-------- help: remove the unnecessary generics
| |
| expected 0 generic arguments
2023-10-17 12:52:11 -05:00
2023-11-11 22:33:19 -06:00
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);
2024-07-22 17:51:53 -05:00
| ^^^^^^^^^^^--------- help: remove the unnecessary generics
| |
| expected 0 generic arguments
2023-11-11 22:33:19 -06:00
error: aborting due to 4 previous errors
2023-10-17 12:52:11 -05:00
For more information about this error, try `rustc --explain E0107`.