File tree 5 files changed +23
-10
lines changed
5 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -14,33 +14,33 @@ pub use std::path::Path;
14
14
pub use package_id:: PkgId ;
15
15
16
16
condition ! {
17
- bad_path: ( super :: Path , ~str ) -> super :: Path ;
17
+ bad_path: ( Path , ~str ) -> Path ;
18
18
}
19
19
20
20
condition ! {
21
- nonexistent_package: ( super :: PkgId , ~str ) -> super :: Path ;
21
+ nonexistent_package: ( PkgId , ~str ) -> Path ;
22
22
}
23
23
24
24
condition ! {
25
- copy_failed: ( super :: Path , super :: Path ) -> ( ) ;
25
+ copy_failed: ( Path , Path ) -> ( ) ;
26
26
}
27
27
28
28
condition ! {
29
- missing_pkg_files: ( super :: PkgId ) -> ( ) ;
29
+ missing_pkg_files: ( PkgId ) -> ( ) ;
30
30
}
31
31
32
32
condition ! {
33
- bad_pkg_id: ( super :: Path , ~str ) -> super :: PkgId ;
33
+ bad_pkg_id: ( Path , ~str ) -> PkgId ;
34
34
}
35
35
36
36
condition ! {
37
- no_rust_path: ( ~str ) -> super :: Path ;
37
+ no_rust_path: ( ~str ) -> Path ;
38
38
}
39
39
40
40
condition ! {
41
- not_a_workspace: ( ~str ) -> super :: Path ;
41
+ not_a_workspace: ( ~str ) -> Path ;
42
42
}
43
43
44
44
condition ! {
45
- failed_to_create_temp_dir: ( ~str ) -> super :: Path ;
45
+ failed_to_create_temp_dir: ( ~str ) -> Path ;
46
46
}
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ pub enum NullByteResolution {
29
29
30
30
condition ! {
31
31
// this should be &[u8] but there's a lifetime issue
32
+ // NOTE: this super::NullByteResolution should be NullByteResolution
33
+ // Change this next time the snapshot it updated.
32
34
null_byte: ( ~[ u8 ] ) -> super :: NullByteResolution ;
33
35
}
34
36
Original file line number Diff line number Diff line change @@ -385,13 +385,17 @@ impl ToStr for IoErrorKind {
385
385
// Raised by `I/O` operations on error.
386
386
condition ! {
387
387
// FIXME (#6009): uncomment `pub` after expansion support lands.
388
+ // NOTE: this super::IoError should be IoError
389
+ // Change this next time the snapshot it updated.
388
390
/*pub*/ io_error: super :: IoError -> ( ) ;
389
391
}
390
392
391
393
// XXX: Can't put doc comments on macros
392
394
// Raised by `read` on error
393
395
condition ! {
394
396
// FIXME (#6009): uncomment `pub` after expansion support lands.
397
+ // NOTE: this super::IoError should be IoError
398
+ // Change this next time the snapshot it updated.
395
399
/*pub*/ read_error: super :: IoError -> ( ) ;
396
400
}
397
401
Original file line number Diff line number Diff line change @@ -889,7 +889,11 @@ pub fn std_macros() -> @str {
889
889
{ pub $c: ident: $input: ty -> $out: ty; } => {
890
890
891
891
pub mod $c {
892
+ #[ allow( unused_imports) ] ;
892
893
#[ allow( non_uppercase_statics) ] ;
894
+
895
+ use super :: * ;
896
+
893
897
static key: :: std:: local_data:: Key <
894
898
@:: std:: condition:: Handler <$input, $out>> =
895
899
& :: std:: local_data:: Key ;
@@ -907,7 +911,11 @@ pub fn std_macros() -> @str {
907
911
908
912
// FIXME (#6009): remove mod's `pub` below once variant above lands.
909
913
pub mod $c {
914
+ #[ allow( unused_imports) ] ;
910
915
#[ allow( non_uppercase_statics) ] ;
916
+
917
+ use super :: * ;
918
+
911
919
static key: :: std:: local_data:: Key <
912
920
@:: std:: condition:: Handler <$input, $out>> =
913
921
& :: std:: local_data:: Key ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pub enum Color {
16
16
}
17
17
18
18
condition ! {
19
- pub oops: ( int, float, ~str ) -> :: Color ;
19
+ pub oops: ( int, float, ~str ) -> Color ;
20
20
}
21
21
22
22
pub trait Thunk < T > {
@@ -26,4 +26,3 @@ pub trait Thunk<T> {
26
26
pub fn callback < T , TH : Thunk < T > > ( t : TH ) -> T {
27
27
t. call ( )
28
28
}
29
-
You can’t perform that action at this time.
0 commit comments