Skip to content

Instantly share code, notes, and snippets.

@bhickey
Created April 26, 2018 11:39
Show Gist options
  • Save bhickey/6bd0f6d3ba502102cd6d092823b617f0 to your computer and use it in GitHub Desktop.
Save bhickey/6bd0f6d3ba502102cd6d092823b617f0 to your computer and use it in GitHub Desktop.
error
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