1
Fork 0

Add unsized_fn_params feature

This commit is contained in:
Santiago Pastorino 2020-10-16 17:46:59 -03:00
parent 2a71e45411
commit 708fc3b1a2
No known key found for this signature in database
GPG key ID: 8131A24E0C79EFAF
46 changed files with 165 additions and 86 deletions

View file

@ -165,7 +165,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
let tcx = this.hir.tcx();
if tcx.features().unsized_locals {
if tcx.features().unsized_fn_params {
let ty = expr.ty;
let span = expr.span;
let param_env = this.hir.param_env;