Skip to content

Commit

Permalink
ices/93578.sh: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
error: mismatch in bind of associated constant, got type
  --> <anon>:16:15
   |
16 | fn foo<F: Foo<N=usize>>() {}
   |               ^^^^^^^
   |
note: associated constant defined here does not match type
  --> <anon>:6:3
   |
6  |   const N: usize;
   |   ^^^^^^^^^^^^^^^

error[E0271]: type mismatch resolving `<Bar as Foo>::N == usize`
  --> <anon>:20:3
   |
20 |   foo::<Bar>();
   |   ^^^^^^^^^^ types differ
   |
   = note: expected type `usize`
              found type `3_usize`
note: required by a bound in `foo`
  --> <anon>:16:15
   |
16 | fn foo<F: Foo<N=usize>>() {}
   |               ^^^^^^^ required by this bound in `foo`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0271`.
=== stderr ===
==============
  • Loading branch information
rustbot committed Feb 9, 2022
1 parent c431092 commit ee60471
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit ee60471

Please sign in to comment.