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