rust/src/libsyntax
Aaron Turon 42c4e481cd Stabilize std::path
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` function now succeeds if, and only if, the path has at
  least one non-root/prefix component. This change affects `pop` as
  well.

* The `Prefix` component now involves a separate `PrefixComponent`
  struct, to better allow for keeping both parsed and unparsed prefix data.

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

Closes #23264

[breaking-change]
2015-03-12 16:38:58 -07:00
..
ast_map Auto merge of #23028 - Munksgaard:get_attrs_opt, r=eddyb 2015-03-10 14:50:40 +00:00
diagnostics Change span_help calls to fileline_help where appropriate 2015-03-03 15:18:33 +02:00
ext Stabilize std::path 2015-03-12 16:38:58 -07:00
parse Stabilize std::path 2015-03-12 16:38:58 -07:00
print std: Deprecate std::old_io::fs 2015-03-04 15:59:30 -08: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.rs Fix array syntax in comment. 2015-03-08 08:39:47 -04:00
ast_util.rs Remove integer suffixes where the types in compiled code are identical. 2015-03-05 12:38:33 +05:30
attr.rs Remove the re-exports for InlineAttr variants. 2015-02-28 13:56:32 +01:00
codemap.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
config.rs Replace all uses of &foo[] with &foo[..] en masse. 2015-02-18 17:36:03 -05: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 std: Deprecate std::old_io::fs 2015-03-04 15:59:30 -08: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: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
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 Implement <T>::method UFCS expression syntax. 2015-02-24 14:16:02 +02:00