rust/src/libsyntax
bors 79dd393a4f Auto merge of #23229 - aturon:stab-path, r=alexcrichton
This commit stabilizes essentially all of the new `std::path` API. The
API itself is changed in a couple of ways (which brings it in closer
alignment with the RFC):

* `.` components are now normalized away, unless they appear at the
  start of a path. This in turn effects the semantics of e.g. asking for
  the file name of `foo/` or `foo/.`, both of which yield `Some("foo")`
  now. This semantics is what the original RFC specified, and is also
  desirable given early experience rolling out the new API.

* The `parent` method is now `without_file` and succeeds if, and only
  if, `file_name` is `Some(_)`. That means, in particular, that it fails
  for a path like `foo/../`. This change affects `pop` as well.

In addition, the `old_path` module is now deprecated.

[breaking-change]

r? @alexcrichton
2015-03-13 01:00:02 +00:00
..
ast_map syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
diagnostics Change span_help calls to fileline_help where appropriate 2015-03-03 15:18:33 +02:00
ext Auto merge of #23229 - aturon:stab-path, r=alexcrichton 2015-03-13 01:00:02 +00:00
parse Auto merge of #23229 - aturon:stab-path, r=alexcrichton 2015-03-13 01:00:02 +00:00
print syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
util Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
abi.rs Use consts instead of statics where appropriate 2015-03-02 17:11:51 +01:00
ast_util.rs syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
ast.rs syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
attr.rs Remove the re-exports for InlineAttr variants. 2015-02-28 13:56:32 +01:00
codemap.rs Fix unstable span checks 2015-03-10 19:47:57 -07:00
config.rs syntax: gather common fields of impl & trait items into their respective types. 2015-03-11 23:39:16 +02:00
diagnostic.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
feature_gate.rs remove uses of as_slice where deref coercions can be used 2015-03-09 07:54:19 -07:00
fold.rs syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
lib.rs Stabilize std::path 2015-03-12 16:38:58 -07:00
owned_slice.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
ptr.rs Register new snapshots 2015-02-20 22:17:17 -08:00
show_span.rs
std_inject.rs Remove remaining uses of []. This time I tried to use deref coercions where possible. 2015-02-20 14:08:14 -05:00
test.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
visit.rs syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00