Skip to content

Commit 5b8ce1e

Browse files
committed
---
yaml --- r: 79807 b: refs/heads/try c: db4720b h: refs/heads/master i: 79805: 32f5f7c 79803: adcd40b 79799: ced2a5a 79791: c6871d0 79775: e3989da 79743: fa69469 v: v3
1 parent 822e3d5 commit 5b8ce1e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: ba9fa89bfb4aae53db93e9ecac31807af96356fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
5-
refs/heads/try: ec7cd77bd0d48967351d5097d94afd18eddae0f3
5+
refs/heads/try: db4720bdfaf5d20dad192760a045f239dc9f6141
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/repr.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ impl<'self> ReprVisitor<'self> {
189189
} else if mtbl == 1 {
190190
// skip, this is ast::m_imm
191191
} else {
192-
assert_eq!(mtbl, 2);
193-
self.writer.write("const ".as_bytes());
192+
fail!("invalid mutability value");
194193
}
195194
}
196195

0 commit comments

Comments
 (0)