]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_expand/build.rs
Rollup merge of #68511 - tmiasko:ignore-license, r=alexcrichton
[rust.git] / src / librustc_expand / build.rs
index bd3d6b589d00acfb210de183690e5f1f95fdae5d..11f94ab2e627980b0445e92a50967bc442e46b68 100644 (file)
@@ -110,7 +110,7 @@ pub fn typaram(
     }
 
     pub fn trait_ref(&self, path: ast::Path) -> ast::TraitRef {
-        ast::TraitRef { path, constness: None, ref_id: ast::DUMMY_NODE_ID }
+        ast::TraitRef { path, ref_id: ast::DUMMY_NODE_ID }
     }
 
     pub fn poly_trait_ref(&self, span: Span, path: ast::Path) -> ast::PolyTraitRef {