Closed
Description
pub struct ReaderError(&'self mut int);
condition! {
reader_error: super::ReaderError -> bool;
}
fn main() {
}
<core-macros>:63:20: 63:48 error: cannot infer an appropriate lifetime due to conflicting requirements
<core-macros>:63 ::core::condition::Condition {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: first, the lifetime cannot outlive lifetime re_bound(br_anon(0))...
<core-macros>:63:20: 63:48 note: ...due to the following expression
<core-macros>:63 ::core::condition::Condition {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: but, the lifetime must be valid for the static lifetime...
<core-macros>:63:20: 63:48 note: ...due to the following expression
<core-macros>:63 ::core::condition::Condition {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error