Skip to content

Instantly share code, notes, and snippets.

@ajtulloch
Created January 6, 2015 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajtulloch/045d1ae73145310ea031 to your computer and use it in GitHub Desktop.
Save ajtulloch/045d1ae73145310ea031 to your computer and use it in GitHub Desktop.
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205:43: 1217:14 error: cannot infer an appropriate lifetime due to conflicting requirements
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205 impl_.items.iter().filter_map(|it| match it.inner {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1206 clean::MethodItem(ref meth) => {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1207 match method_htype(for_, meth) {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1208 None => None,
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1209 Some(htype) => Some(HoogleItem {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1210 // TODO: prefix with type name?
...
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205:43: 1217:14 note: first, the lifetime cannot outlive the expression at 1205:42...
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205 impl_.items.iter().filter_map(|it| match it.inner {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1206 clean::MethodItem(ref meth) => {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1207 match method_htype(for_, meth) {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1208 None => None,
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1209 Some(htype) => Some(HoogleItem {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1210 // TODO: prefix with type name?
...
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205:43: 1217:14 note: ...so type `closure[/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205:43: 1217:14]` of expression is valid during the expression
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205 impl_.items.iter().filter_map(|it| match it.inner {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1206 clean::MethodItem(ref meth) => {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1207 match method_htype(for_, meth) {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1208 None => None,
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1209 Some(htype) => Some(HoogleItem {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1210 // TODO: prefix with type name?
...
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205:13: 1217:15 note: but, the lifetime must be valid for the method call at 1205:12...
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205 impl_.items.iter().filter_map(|it| match it.inner {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1206 clean::MethodItem(ref meth) => {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1207 match method_htype(for_, meth) {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1208 None => None,
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1209 Some(htype) => Some(HoogleItem {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1210 // TODO: prefix with type name?
...
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205:43: 1217:14 note: ...so that argument is valid for the call
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1205 impl_.items.iter().filter_map(|it| match it.inner {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1206 clean::MethodItem(ref meth) => {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1207 match method_htype(for_, meth) {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1208 None => None,
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1209 Some(htype) => Some(HoogleItem {
/Users/tulloch/src/rust/src/librustdoc/html/render.rs:1210 // TODO: prefix with type name?
...
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment