Skip to content

Instantly share code, notes, and snippets.

@bhickey
Created April 26, 2018 11:38
Show Gist options
  • Select an option

  • Save bhickey/a7aaea2814b482802cdca756b2b2c0f4 to your computer and use it in GitHub Desktop.

Select an option

Save bhickey/a7aaea2814b482802cdca756b2b2c0f4 to your computer and use it in GitHub Desktop.
error[E0271]: type mismatch resolving `<G as render::graphics::Graphics>::Texture == piston_window::Texture<R>`
--> src/entity.rs:36:18
|
36 | sprite.draw(t, g);
| ^^^^ expected associated type, found struct `piston_window::Texture`
|
= note: expected type `<G as render::graphics::Graphics>::Texture`
found type `piston_window::Texture<R>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment