Skip to content

Commit 6578893

Browse files
foo
1 parent 9cf699d commit 6578893

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_typeck/src/check

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/check/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
15921592
if let Some(base_expr) = base_expr {
15931593
// FIXME: We are currently creating two branches here in order to maintain
15941594
// consistency. But they should be merged as much as possible.
1595-
let fru_tys = if self.tcx.features().type_changing_struct_update {
1595+
let fru_tys = if self.tcx.features().type_changing_struct_update || true {
15961596
if adt.is_struct() {
15971597
// Make some fresh substitutions for our ADT type.
15981598
let fresh_substs = self.fresh_substs_for_item(base_expr.span, adt.did());

0 commit comments

Comments
 (0)