diff options
| author | Brian Anderson <banderson@mozilla.com> | 2015-01-07 15:48:16 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2015-01-08 03:07:23 -0800 |
| commit | 1f70acbf4c4f345265a7626bd927187d3bfed91f (patch) | |
| tree | 8f8c034b67d5284d8a5a1d056e5497e80bbfae60 /src/libregex/re.rs | |
| parent | 5364c4853fa61aced8fdf773d9de41b929a0d318 (diff) | |
| download | rust-1f70acbf4c4f345265a7626bd927187d3bfed91f.tar.gz rust-1f70acbf4c4f345265a7626bd927187d3bfed91f.zip | |
Improvements to feature staging
This gets rid of the 'experimental' level, removes the non-staged_api case (i.e. stability levels for out-of-tree crates), and lets the staged_api attributes use 'unstable' and 'deprecated' lints. This makes the transition period to the full feature staging design a bit nicer.
Diffstat (limited to 'src/libregex/re.rs')
| -rw-r--r-- | src/libregex/re.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libregex/re.rs b/src/libregex/re.rs index 16dd32b6be2..abc51d62404 100644 --- a/src/libregex/re.rs +++ b/src/libregex/re.rs @@ -255,7 +255,7 @@ impl Regex { } #[doc(hidden)] - #[experimental] + #[unstable] pub fn names_iter<'a>(&'a self) -> NamesIter<'a> { match *self { Native(ref n) => NamesIterNative(n.names.iter()), @@ -410,7 +410,7 @@ pub struct Captures<'t> { } impl<'t> Captures<'t> { - #[allow(experimental)] + #[allow(unstable)] fn new(re: &Regex, search: &'t str, locs: CaptureLocs) -> Option<Captures<'t>> { if !has_match(&locs) { |
