Skip to content

Instantly share code, notes, and snippets.

@fkaa
Created April 12, 2016 08:55
Show Gist options
  • Save fkaa/d04171ccad41992be47199b8952d9f05 to your computer and use it in GitHub Desktop.
Save fkaa/d04171ccad41992be47199b8952d9f05 to your computer and use it in GitHub Desktop.
examples/caps/main.rs:20:42: 20:46 error: overflow evaluating the requirement `_: std::marker::Sized` [E0275]
examples/caps/main.rs:20 println!("Device name: {:?}", device.name());
^~~~
<std macros>:2:25: 2:56 note: in this expansion of format_args!
<std macros>:3:1: 3:54 note: in this expansion of print! (defined in <std macros>)
examples/caps/main.rs:20:5: 20:50 note: in this expansion of println! (defined in <std macros>)
examples/caps/main.rs:20:42: 20:46 help: run `rustc --explain E0275` to see a detailed explanation
examples/caps/main.rs:20:42: 20:46 note: consider adding a `#![recursion_limit="128"]` attribute to your crate
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, _)`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, _))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, _)))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, _))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, _)))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, _))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, _)))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, _))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
examples/caps/main.rs:20:42: 20:46 note: required because it appears within the type `(_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, (_, _)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))`
error: aborting due to 4 previous errors
error: Could not compile `metal`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment