rustc_typeck: hook up collect and item/body check to on-demand.
This commit is contained in:
parent
9c3c306800
commit
ba11640179
36 changed files with 782 additions and 1097 deletions
|
@ -773,7 +773,7 @@ fn find_repr_type_name(diagnostic: &Handler, type_attrs: &[ast::Attribute]) -> &
|
|||
for a in type_attrs {
|
||||
for r in &attr::find_repr_attrs(diagnostic, a) {
|
||||
repr_type_name = match *r {
|
||||
attr::ReprAny | attr::ReprPacked | attr::ReprSimd => continue,
|
||||
attr::ReprPacked | attr::ReprSimd => continue,
|
||||
attr::ReprExtern => "i32",
|
||||
|
||||
attr::ReprInt(attr::SignedInt(ast::IntTy::Is)) => "isize",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue