Revert "Create const block DefIds in typeck instead of ast lowering"
This reverts commit ddc5f9b6c1
.
This commit is contained in:
parent
92c54db22f
commit
cbee17d502
39 changed files with 190 additions and 168 deletions
|
@ -380,9 +380,8 @@ impl<'a> State<'a> {
|
|||
ast::ExprKind::Array(exprs) => {
|
||||
self.print_expr_vec(exprs);
|
||||
}
|
||||
ast::ExprKind::ConstBlock(expr) => {
|
||||
self.word_space("const");
|
||||
self.print_expr(expr, FixupContext::default());
|
||||
ast::ExprKind::ConstBlock(anon_const) => {
|
||||
self.print_expr_anon_const(anon_const, attrs);
|
||||
}
|
||||
ast::ExprKind::Repeat(element, count) => {
|
||||
self.print_expr_repeat(element, count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue