Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d672fea
Use typeck_results to avoid duplicate ast_ty_to_ty call
compiler-errors Jul 16, 2022
dd109c8
better error for bad depth on macro metavar expr
compiler-errors Jul 17, 2022
b3c1b95
Fix crate filter select display
GuillaumeGomez Jul 20, 2022
512db7e
Fix CSS on search input focus
GuillaumeGomez Jul 20, 2022
45382e6
compiletest: allow using revisions with debuginfo tests
luqmana Jul 20, 2022
8de7f04
Use revision support to remove near identical debuginfo test.
luqmana Jul 20, 2022
5d7cd65
compiletest: dedup revision line logic.
luqmana Jul 20, 2022
57a155b
avoid a `Symbol` to `String` conversion
TaKO8Ki Jul 20, 2022
56e7777
avoid `&str` to String conversions
TaKO8Ki Jul 20, 2022
b8c8250
Remove CSS transition for search input border-color
GuillaumeGomez Jul 20, 2022
f4be88e
Add GUI tests for search input border color
GuillaumeGomez Jul 20, 2022
6f0b8f1
attr/passes: comment -> doc comment
davidtwco Jul 13, 2022
a1d5af2
attr: fix expected meta-item for `#[stable]`
davidtwco Jul 13, 2022
62187b1
Add diagnostic width span when '0$' is used as width.
miam-miam Jul 19, 2022
f8dfc4b
Fix off by one error and add ui test.
miam-miam Jul 20, 2022
dcd02ab
adapt assembly/static-relocation-model test for LLVM change
krasimirgg Jul 20, 2022
224aec2
middle: add `implies_by` to `#[unstable]`
davidtwco Jul 13, 2022
97edb9f
span: add `span_extend_to_line` helper
davidtwco Jul 13, 2022
6246d66
passes: improved partial stabilization diagnostic
davidtwco Jul 13, 2022
e587299
passes: check implied feature exists
davidtwco Jul 20, 2022
12ff7a0
Use new tracking issue for proc_macro::tracked_*.
m-ou-se Jul 20, 2022
857afc7
Rollup merge of #99212 - davidtwco:partial-stability-implies, r=micha…
matthiaskrgr Jul 20, 2022
43f6366
Rollup merge of #99352 - compiler-errors:tighter-spans-on-generic-cal…
matthiaskrgr Jul 20, 2022
82d9ae9
Rollup merge of #99355 - compiler-errors:macro-metavar-less-than-zero…
matthiaskrgr Jul 20, 2022
9e197b7
Rollup merge of #99480 - miam-miam100:arg-format, r=oli-obk
matthiaskrgr Jul 20, 2022
a0c6964
Rollup merge of #99488 - luqmana:debuginfo-revisions, r=tmiasko
matthiaskrgr Jul 20, 2022
73ef81d
Rollup merge of #99489 - GuillaumeGomez:gui-fixes, r=notriddle
matthiaskrgr Jul 20, 2022
4b21ad2
Rollup merge of #99508 - TaKO8Ki:avoid-symbol-to-string-conversion-in…
matthiaskrgr Jul 20, 2022
2638f3a
Rollup merge of #99510 - krasimirgg:movb, r=nikic
matthiaskrgr Jul 20, 2022
a5a6811
Rollup merge of #99516 - m-ou-se:proc-macro-tracked-tracking-issue, r…
matthiaskrgr Jul 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions library/proc_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand All @@ -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);
Expand Down