Skip to content

Instantly share code, notes, and snippets.

@tbillington
Created August 1, 2014 06:33
Show Gist options
  • Save tbillington/55d7e9775d3d150ad6fd to your computer and use it in GitHub Desktop.
Save tbillington/55d7e9775d3d150ad6fd to your computer and use it in GitHub Desktop.
struct Vertex {
x: f64,
y: f64,
z: f64,
}
struct Face {
a: &Vertex,
b: &Vertex,
c: &Vertex,
d: &Vertex,
}
/Users/trent/Github/Rusticle/src/main.rs:12:5: 12:12 error: missing lifetime specifier [E0106]
/Users/trent/Github/Rusticle/src/main.rs:12 a: &Vertex,
^~~~~~~
/Users/trent/Github/Rusticle/src/main.rs:13:5: 13:12 error: missing lifetime specifier [E0106]
/Users/trent/Github/Rusticle/src/main.rs:13 b: &Vertex,
^~~~~~~
/Users/trent/Github/Rusticle/src/main.rs:14:5: 14:12 error: missing lifetime specifier [E0106]
/Users/trent/Github/Rusticle/src/main.rs:14 c: &Vertex,
^~~~~~~
/Users/trent/Github/Rusticle/src/main.rs:15:5: 15:12 error: missing lifetime specifier [E0106]
/Users/trent/Github/Rusticle/src/main.rs:15 d: &Vertex,
^~~~~~~
error: aborting due to 4 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment