diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-04-05 17:55:17 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-04-05 17:55:17 +0200 |
commit | e71c4fb4773768c6b5266896a33338ff29e49bad (patch) | |
tree | fd6ec917c4287b793470d5b5057c7965d2f22f23 | |
parent | 3199a7687871747032553db560c60c737388e1ff (diff) |
gen: Add back constness of new_bitfield_xxx functions
-rw-r--r-- | src/gen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ fn gen_unmangle_method(ctx: &mut GenCtx, decl: P(fndecl), generics: empty_generics(), explicit_self: respan(ctx.span, self_kind), - constness: ast::Constness::NotConst, + constness: ast::Constness::Const, }; let block = ast::Block { |