diff options
Diffstat (limited to 'src/rustc/metadata/decoder.rs')
| -rw-r--r-- | src/rustc/metadata/decoder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/metadata/decoder.rs b/src/rustc/metadata/decoder.rs index bb6c4d5dc3d..2a2438b52a7 100644 --- a/src/rustc/metadata/decoder.rs +++ b/src/rustc/metadata/decoder.rs @@ -120,7 +120,7 @@ fn class_member_id(d: ebml::doc, cdata: cmd) -> ast::def_id { fn field_mutability(d: ebml::doc) -> ast::class_mutability { // Use maybe_get_doc in case it's a method - option::maybe(ebml::maybe_get_doc(d, tag_class_mut), + option::with_option(ebml::maybe_get_doc(d, tag_class_mut), ast::class_immutable, {|d| alt ebml::doc_as_u8(d) as char { |
