1 error[E0308]: mismatched types
2 --> $DIR/issue-67945-2.rs:4:11
5 | - this type parameter
7 | ^ expected type parameter `S`, found integer
9 = note: expected type parameter `S`
10 found type `{integer}`
12 error[E0308]: mismatched types
13 --> $DIR/issue-67945-2.rs:4:11
16 | - this type parameter
18 | ^^^^ expected `isize`, found type parameter `S`
20 = note: expected type `isize`
21 found type parameter `S`
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0308`.