File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
branches/try2/src/libcore Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 82a8a5ebb3b3c34cd135da511641a9df28e2c30e
8
+ refs/heads/try2: 949443eff640ede205502547ea04a4dd350b255f
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change 10
10
11
11
//! Failure support for libcore
12
12
13
- #![ allow( dead_code) ]
13
+ #![ allow( dead_code, missing_doc ) ]
14
14
15
15
#[ cfg( not( test) ) ]
16
16
use str:: raw:: c_str_to_static_slice;
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ pub mod atomics;
106
106
pub mod bool;
107
107
pub mod cell;
108
108
pub mod char;
109
+ pub mod failure;
109
110
pub mod finally;
110
111
pub mod iter;
111
112
pub mod option;
@@ -118,13 +119,15 @@ pub mod tuple;
118
119
#[ cfg( stage0, not( test) ) ]
119
120
pub mod owned;
120
121
121
- mod failure;
122
-
123
122
// FIXME: this module should not exist. Once owned allocations are no longer a
124
123
// language type, this module can move outside to the owned allocation
125
124
// crate.
126
125
mod should_not_exist;
127
126
127
+ mod core {
128
+ pub use failure;
129
+ }
130
+
128
131
mod std {
129
132
pub use clone;
130
133
pub use cmp;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ macro_rules! fail(
17
17
fail!( "explicit failure" )
18
18
) ;
19
19
( $msg: expr) => (
20
- :: failure:: begin_unwind( $msg, file!( ) , line!( ) )
20
+ :: core :: failure:: begin_unwind( $msg, file!( ) , line!( ) )
21
21
) ;
22
22
)
23
23
You can’t perform that action at this time.
0 commit comments