]> git.proxmox.com Git - rustc.git/blobdiff - src/libsyntax/ext/build.rs
Imported Upstream version 1.2.0+dfsg1
[rustc.git] / src / libsyntax / ext / build.rs
index 354a0bff74998bbcc3c21d93f7d379d0db0f41d3..8a80e291a538405f38c11e9911be3d3421fa855c 100644 (file)
@@ -1034,6 +1034,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
                   Vec::new(),
                   ast::ItemFn(self.fn_decl(inputs, output),
                               ast::Unsafety::Normal,
+                              ast::Constness::NotConst,
                               abi::Rust,
                               generics,
                               body))