Created
April 26, 2018 11:38
-
-
Save bhickey/a7aaea2814b482802cdca756b2b2c0f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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