Skip to content

Rollup of 11 pull requests #93645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e1eff1b
Windows: Disable LLVM crash dialog boxes.
ehuss Jan 28, 2022
71249a9
Add rustdoc info to jsondocck output
CraftSpider Jan 31, 2022
ed88e61
Add package.json in gitignore
GuillaumeGomez Feb 1, 2022
1bc8f0b
Link `try_exists` docs to `Path::exists`
ChrisDenton Feb 1, 2022
8324289
add tests
tamaroning Feb 2, 2022
7efba33
Unify storage getter and setter functions
GuillaumeGomez Jan 10, 2022
c64d6bf
Only disable dialogs on CI.
ehuss Feb 3, 2022
2dfd77d
Fix ret > 1 bound if shadowed by const
JulianKnodt Feb 2, 2022
de2abc2
clippy::perf fixes
matthiaskrgr Feb 3, 2022
a2a4cab
rustc_mir_dataflow: use iter::once instead of Some().into_iter
notriddle Feb 3, 2022
cfa6776
Add filter-crate URL parameter
GuillaumeGomez Jan 10, 2022
17fe306
Update tester to have FILTER_CRATE set to null if undefined.
GuillaumeGomez Feb 3, 2022
829a047
Add GUI test for crate filter URL parameter
GuillaumeGomez Jan 10, 2022
f1a399a
rustdoc: clippy::complexity fixes
matthiaskrgr Feb 3, 2022
cdd2254
rustdoc: remove unused Hash impl
notriddle Feb 4, 2022
f2721fa
Rollup merge of #92735 - GuillaumeGomez:crate-filter-url-param, r=jsha
matthiaskrgr Feb 4, 2022
f7e0f97
Rollup merge of #93402 - ehuss:llvm-dialog, r=michaelwoerister
matthiaskrgr Feb 4, 2022
c77f0a4
Rollup merge of #93508 - CraftSpider:jsondocck-runtest-output, r=Mark…
matthiaskrgr Feb 4, 2022
3876cb6
Rollup merge of #93551 - GuillaumeGomez:ignore-package-json, r=Mark-S…
matthiaskrgr Feb 4, 2022
f070e0b
Rollup merge of #93555 - ChrisDenton:fs-try-exists-doc, r=Mark-Simula…
matthiaskrgr Feb 4, 2022
ca2ef71
Rollup merge of #93585 - tamaroning:add_tests_for_92630, r=m-ou-se
matthiaskrgr Feb 4, 2022
92a7f5f
Rollup merge of #93593 - JulianKnodt:master, r=oli-obk
matthiaskrgr Feb 4, 2022
03cad86
Rollup merge of #93630 - matthiaskrgr:clipperf, r=oli-obk
matthiaskrgr Feb 4, 2022
4b70359
Rollup merge of #93631 - notriddle:notriddle/cleanup-some-into-iter, …
matthiaskrgr Feb 4, 2022
9351d31
Rollup merge of #93632 - matthiaskrgr:rustdoclippy2, r=GuillaumeGomez
matthiaskrgr Feb 4, 2022
1426f0e
Rollup merge of #93638 - notriddle:notriddle/unused-hash, r=Guillaume…
matthiaskrgr Feb 4, 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
4 changes: 3 additions & 1 deletion library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,7 @@ impl AsInnerMut<fs_imp::DirBuilder> for DirBuilder {
/// This function will traverse symbolic links to query information about the
/// destination file. In case of broken symbolic links this will return `Ok(false)`.
///
/// As opposed to the `exists()` method, this one doesn't silently ignore errors
/// As opposed to the [`Path::exists`] method, this one doesn't silently ignore errors
/// unrelated to the path not existing. (E.g. it will return `Err(_)` in case of permission
/// denied on some of the parent directories.)
///
Expand All @@ -2301,6 +2301,8 @@ impl AsInnerMut<fs_imp::DirBuilder> for DirBuilder {
/// assert!(!fs::try_exists("does_not_exist.txt").expect("Can't check existence of file does_not_exist.txt"));
/// assert!(fs::try_exists("/root/secret_file.txt").is_err());
/// ```
///
/// [`Path::exists`]: crate::path::Path::exists
// FIXME: stabilization should modify documentation of `exists()` to recommend this method
// instead.
#[unstable(feature = "path_try_exists", issue = "83186")]
Expand Down
4 changes: 3 additions & 1 deletion library/std/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2730,7 +2730,7 @@ impl Path {
/// This function will traverse symbolic links to query information about the
/// destination file. In case of broken symbolic links this will return `Ok(false)`.
///
/// As opposed to the `exists()` method, this one doesn't silently ignore errors
/// As opposed to the [`exists()`] method, this one doesn't silently ignore errors
/// unrelated to the path not existing. (E.g. it will return `Err(_)` in case of permission
/// denied on some of the parent directories.)
///
Expand All @@ -2743,6 +2743,8 @@ impl Path {
/// assert!(!Path::new("does_not_exist.txt").try_exists().expect("Can't check existence of file does_not_exist.txt"));
/// assert!(Path::new("/root/secret_file.txt").try_exists().is_err());
/// ```
///
/// [`exists()`]: Self::exists
// FIXME: stabilization should modify documentation of `exists()` to recommend this method
// instead.
#[unstable(feature = "path_try_exists", issue = "83186")]
Expand Down