Skip to content

Commit 7d8d2c7

Browse files
nikomatsakisbrson
authored andcommitted
---
yaml --- r: 5784 b: refs/heads/master c: b9a9559 h: refs/heads/master v: v3
1 parent d086485 commit 7d8d2c7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: f3c68e723857dc9b3b382038ba397bcdcd71074a
2+
refs/heads/master: b9a9559c910823d7fe06a4d08be461de010830c5

trunk/src/comp/driver/rustc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ options:
264264
--test build test harness
265265
--gc garbage collect shared data (experimental/temporary)
266266
--stack-growth perform stack checks (experimental)
267-
--check-unsafe disallow unsafe actions in non-unsafe functions (temporary option)
267+
--check-unsafe disallow unsafe actions in non-unsafe functions
268268
269269
");
270270
}

trunk/src/comp/middle/typeck.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,9 @@ fn require_unsafe(sess: session::session, f_purity: ast::purity, sp: span) {
15281528
alt f_purity {
15291529
ast::unsafe_fn. { ret; }
15301530
_ {
1531-
sess.span_fatal(sp, "Found unsafe expression in safe function decl");
1531+
sess.span_fatal(
1532+
sp,
1533+
"Found unsafe expression in safe function decl");
15321534
}
15331535
}
15341536
}

0 commit comments

Comments
 (0)