diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-07-20 18:58:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-20 18:58:22 +0200 |
| commit | a5a681100cb14af73926f309821903175b4fc2a2 (patch) | |
| tree | 9bb7d9917a083bdbea69ed55d5ee7e5c8c43e2a5 | |
| parent | 2638f3a8d70decebca840c4679e3efcba0808e8a (diff) | |
| parent | 12ff7a0d66779d70096670156e1703dff0747ea1 (diff) | |
| download | rust-a5a681100cb14af73926f309821903175b4fc2a2.tar.gz rust-a5a681100cb14af73926f309821903175b4fc2a2.zip | |
Rollup merge of #99516 - m-ou-se:proc-macro-tracked-tracking-issue, r=Mark-Simulacrum
Use new tracking issue for proc_macro::tracked_*.
| -rw-r--r-- | library/proc_macro/src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/proc_macro/src/lib.rs b/library/proc_macro/src/lib.rs index 5cf16bdd08c..08b45ac11a1 100644 --- a/library/proc_macro/src/lib.rs +++ b/library/proc_macro/src/lib.rs @@ -1484,7 +1484,7 @@ impl fmt::Debug for Literal { } /// Tracked access to environment variables. -#[unstable(feature = "proc_macro_tracked_env", issue = "74690")] +#[unstable(feature = "proc_macro_tracked_env", issue = "99515")] pub mod tracked_env { use std::env::{self, VarError}; use std::ffi::OsStr; @@ -1494,7 +1494,7 @@ pub mod tracked_env { /// compilation, and will be able to rerun the build when the value of that variable changes. /// Besides the dependency tracking this function should be equivalent to `env::var` from the /// standard library, except that the argument must be UTF-8. - #[unstable(feature = "proc_macro_tracked_env", issue = "74690")] + #[unstable(feature = "proc_macro_tracked_env", issue = "99515")] pub fn var<K: AsRef<OsStr> + AsRef<str>>(key: K) -> Result<String, VarError> { let key: &str = key.as_ref(); let value = env::var(key); @@ -1504,13 +1504,13 @@ pub mod tracked_env { } /// Tracked access to additional files. -#[unstable(feature = "track_path", issue = "73921")] +#[unstable(feature = "track_path", issue = "99515")] pub mod tracked_path { /// Track a file explicitly. /// /// Commonly used for tracking asset preprocessing. - #[unstable(feature = "track_path", issue = "73921")] + #[unstable(feature = "track_path", issue = "99515")] pub fn path<P: AsRef<str>>(path: P) { let path: &str = path.as_ref(); crate::bridge::client::FreeFunctions::track_path(path); |
