We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444dfc8 commit cb3d8adCopy full SHA for cb3d8ad
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: ec7cd77bd0d48967351d5097d94afd18eddae0f3
+refs/heads/master: db4720bdfaf5d20dad192760a045f239dc9f6141
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: eae327032c775813eeb101233a4f7df24eab0a6a
5
refs/heads/try: ac820906c0e53eab79a98ee64f7231f57c3887b4
trunk/src/libstd/repr.rs
@@ -189,8 +189,7 @@ impl<'self> ReprVisitor<'self> {
189
} else if mtbl == 1 {
190
// skip, this is ast::m_imm
191
} else {
192
- assert_eq!(mtbl, 2);
193
- self.writer.write("const ".as_bytes());
+ fail!("invalid mutability value");
194
}
195
196
0 commit comments