]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/astconv/mod.rs
Fixing bad suggestion for `_` in `const` type when a function #81885
[rust.git] / compiler / rustc_typeck / src / astconv / mod.rs
index 5659345f0ff9cfec0c056ad870796e22f4161d25..877c7631c9bd3e40ee2b82888aaa4690ec7f62b4 100644 (file)
@@ -2327,6 +2327,7 @@ pub fn ty_of_fn(
                 &generics.params[..],
                 visitor.0,
                 true,
+                true
             );
         }