Struct rustc::ty::Issue32330
[−]
[src]
pub struct Issue32330 {
pub fn_def_id: DefId,
pub region_name: Name,
}rustc_private)When a region changed from late-bound to early-bound when #32330
was fixed, its RegionParameterDef will have one of these
structures that we can use to give nicer errors.
Fields
fn_def_id: DefId
rustc_private)fn where is region declared
region_name: Name
rustc_private)name of region; duplicates the info in BrNamed but convenient to have it here, and this code is only temporary
Trait Implementations
impl Copy for Issue32330[src]
impl Clone for Issue32330[src]
fn clone(&self) -> Issue32330
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Issue32330[src]
impl PartialEq for Issue32330[src]
fn eq(&self, __arg_0: &Issue32330) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Issue32330) -> bool
This method tests for !=.
impl PartialOrd for Issue32330[src]
fn partial_cmp(&self, __arg_0: &Issue32330) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &Issue32330) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &Issue32330) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &Issue32330) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &Issue32330) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Eq for Issue32330[src]
impl Ord for Issue32330[src]
fn cmp(&self, __arg_0: &Issue32330) -> Ordering
This method returns an Ordering between self and other. Read more
impl Hash for Issue32330[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Encodable for Issue32330[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io
impl Decodable for Issue32330[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Issue32330, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io