Reflect on char as u32, not uint (which may be u64).
Fixes mozilla/rust#4473.
This commit is contained in:
parent
fbc33e0247
commit
0e1985eda6
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ impl ReprVisitor : TyVisitor {
|
|||
fn visit_f32() -> bool { self.write::<f32>() }
|
||||
fn visit_f64() -> bool { self.write::<f64>() }
|
||||
|
||||
fn visit_char() -> bool { self.write::<uint>() }
|
||||
fn visit_char() -> bool { self.write::<u32>() }
|
||||
|
||||
// Type no longer exists, vestigial function.
|
||||
fn visit_str() -> bool { fail; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue