]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/lib.rs
Rollup merge of #68439 - JohnTitor:clippy-up, r=JohnTitor
[rust.git] / src / librustc_typeck / lib.rs
index 7e63a0254e845e96c8230dd5d4da5f1a8a9f0294..3d27f9191dd397fc7c33c42b1991b7559a840d11 100644 (file)
@@ -380,6 +380,7 @@ pub fn hir_trait_to_predicates<'tcx>(
         &item_cx,
         hir_trait,
         DUMMY_SP,
+        syntax::ast::Constness::NotConst,
         tcx.types.err,
         &mut bounds,
         true,