mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-25 23:14:12 +00:00
librustc: implement Clone for middle::ty::FreeVar
This commit is contained in:
parent
061206b9c7
commit
d2f54e6634
@ -6636,7 +6636,7 @@ pub fn accumulate_lifetimes_in_type(accumulator: &mut Vec<ty::Region>,
|
||||
}
|
||||
|
||||
/// A free variable referred to in a function.
|
||||
#[derive(Copy, RustcEncodable, RustcDecodable)]
|
||||
#[derive(Copy, Clone, RustcEncodable, RustcDecodable)]
|
||||
pub struct Freevar {
|
||||
/// The variable being accessed free.
|
||||
pub def: def::Def,
|
||||
|
Loading…
Reference in New Issue
Block a user