File tree Expand file tree Collapse file tree 4 files changed +13
-19
lines changed Expand file tree Collapse file tree 4 files changed +13
-19
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
- refs/heads/try: 78dc226617d18bbdfbe202c79af6ec0575d6186d
5
+ refs/heads/try: dac88fa7e6b9ca14d352981183073e0f8d7d96ae
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ mod middle {
104
104
mod ty;
105
105
#[ legacy_exports]
106
106
mod resolve;
107
- #[ path2 = "typeck/mod.rs" ]
107
+ #[ path = "typeck/mod.rs" ]
108
108
pub mod typeck;
109
109
#[ legacy_exports]
110
110
mod check_loop;
@@ -114,7 +114,7 @@ mod middle {
114
114
mod check_const;
115
115
#[ legacy_exports]
116
116
mod lint;
117
- #[ path2 = "borrowck/mod.rs" ]
117
+ #[ path = "borrowck/mod.rs" ]
118
118
pub mod borrowck;
119
119
#[ legacy_exports]
120
120
mod mem_categorization;
Original file line number Diff line number Diff line change @@ -3038,23 +3038,17 @@ impl Parser {
3038
3038
let prefix = prefix.dir_path();
3039
3039
let mod_path = Path(" . ").push_many(self.mod_path_stack);
3040
3040
let default_path = self.sess.interner.get(id) + ~" . rs";
3041
- // XXX path2 and path are synonyms. Remove path2 after snapshot
3042
3041
let file_path = match ::attr::first_attr_value_str_by_name(
3043
- outer_attrs, ~" path2") {
3044
-
3045
- Some(ref d) => mod_path.push(*d),
3046
- None => match ::attr::first_attr_value_str_by_name(
3047
- outer_attrs, ~" path") {
3048
- Some(ref d) => {
3049
- let path = Path(*d);
3050
- if !path.is_absolute {
3051
- mod_path.push(*d)
3052
- } else {
3053
- path
3054
- }
3042
+ outer_attrs, ~" path") {
3043
+ Some(ref d) => {
3044
+ let path = Path(*d);
3045
+ if !path.is_absolute {
3046
+ mod_path.push(*d)
3047
+ } else {
3048
+ path
3055
3049
}
3056
- None => mod_path.push(default_path)
3057
3050
}
3051
+ None => mod_path.push(default_path)
3058
3052
};
3059
3053
3060
3054
self.eval_src_mod_from_path(prefix, file_path,
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ mod fold;
55
55
mod util {
56
56
#[legacy_exports];
57
57
#[legacy_exports]
58
- #[path2 = "interner.rs"]
58
+ #[path = "interner.rs"]
59
59
mod interner;
60
60
}
61
61
@@ -110,7 +110,7 @@ mod ext {
110
110
mod source_util;
111
111
112
112
#[legacy_exports]
113
- #[path2 = "pipes/mod.rs"]
113
+ #[path = "pipes/mod.rs"]
114
114
mod pipes;
115
115
116
116
#[legacy_exports]
You can’t perform that action at this time.
0 commit comments