about summary refs log tree commit diff
path: root/src/test/ui/const-generics/impl-trait-with-const-arguments.full.stderr
blob: 26b965901a4c4d061f6d526f4918bbf20e480ace (plain)
1
2
3
4
5
6
7
8
error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
  --> $DIR/impl-trait-with-const-arguments.rs:23:20
   |
LL |     assert_eq!(f::<4usize>(Usizable), 20usize);
   |                    ^^^^^^ explicit generic argument not allowed

error: aborting due to previous error