- Start Date: 2014-09-07
- RFC PR: (leave this empty)
- Rust Issue: (leave this empty)
The current fn()
types represent something close to &'static Code
, which means that safely representing a function pointer into code with a non-static lifetime is impossible. This RFC describes the addition of the ability to assign a non-static lifetime to the fn()
type, which would allow fn():'a
to represent a type similar to &'a Code
.