Function rustc_trans::middle::ty::with_freevarsUnstable
[-] [+]
[src]
pub fn with_freevars<T, F>(tcx: &ctxt, fid: u32, f: F) -> T where F: FnOnce(&[Freevar]) -> T
pub fn with_freevars<T, F>(tcx: &ctxt, fid: u32, f: F) -> T where F: FnOnce(&[Freevar]) -> T
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).