You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hoping that since #19009 was closed on 2014-12-19, it's safe to assume all the issues before that date aren't going to be relevant.
The text was updated successfully, but these errors were encountered:
pierzchalski
changed the title
ICE: Higher order lifetimes cause 'cannot relate bound' panic
ICE: Relating argument and result lifetimes causes 'cannot relate bound' panic
May 19, 2015
I tried using higher-order lifetimes to bound the lifetimes of the returned value, got an ICE.
I tried this code:
I expected to get, at worst, an error about the return box outliving
a
, and so requiring an explicit lifetime ona
.Instead, when compiled with
rustc --crate-type=lib
, I got an ICE:Meta
rustc --version --verbose
:Backtrace:
Other issues for the same panic:
I'm comparing against the first 4 results for searching for 'cannot relate bound', ordered from most recent to least:
associated type bindings are not allowed here
).for
and unboxed closures. #19098: the example code now compiles.I'm hoping that since #19009 was closed on 2014-12-19, it's safe to assume all the issues before that date aren't going to be relevant.
The text was updated successfully, but these errors were encountered: