File: tuple_impls_less_than_minimum_does_not_exists.stderr

package info (click to toggle)
rust-impl-trait-for-tuples 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 352 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 743 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0277]: the trait bound `(Impl, Impl): Test` is not satisfied
  --> tests/fail/tuple_impls_less_than_minimum_does_not_exists.rs:10:12
   |
10 |     test::<(Impl, Impl)>();
   |            ^^^^^^^^^^^^ the trait `Test` is not implemented for `(Impl, Impl)`
   |
   = help: the following other types implement trait `Test`:
             (TupleElement0, TupleElement1, TupleElement2)
             (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
             (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
note: required by a bound in `test`
  --> tests/fail/tuple_impls_less_than_minimum_does_not_exists.rs:8:12
   |
8  | fn test<T: Test>() {}
   |            ^^^^ required by this bound in `test`