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

Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
05ad698
More informative error message for E0015
fee1-dead Nov 3, 2021
75fdc8a
Improve error messages even more
fee1-dead Dec 9, 2021
de2123a
bless you
fee1-dead Dec 9, 2021
c17fda7
Rebased and improved errors
fee1-dead Dec 29, 2021
96e6262
Handle Fn family trait call errror
fee1-dead Dec 29, 2021
ea0f26a
fix typo in comment
fee1-dead Dec 31, 2021
94c300a
Suggest tuple-parentheses when passing N arguments to an N-tuple argu…
bobrippling Nov 7, 2021
80059f9
Test tuple suggestions, including tuple-as-function-argument
bobrippling Nov 9, 2021
54d2d30
Compare tuple element & arg types before suggesting a tuple
bobrippling Dec 5, 2021
a129a85
Handle generics with ParamEnv
bobrippling Jan 16, 2022
a8bac98
Remove 1-tuple unreachable case
bobrippling Jan 16, 2022
a6c0a3d
Unimpl {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}<$t> for Saturating<$t>
kellerkindt Jan 26, 2022
1ab97db
add note suggesting that predicate is satisfied but is not const
compiler-errors Jan 27, 2022
c6de4d5
drive-by: use is_const and is_const_if_const
compiler-errors Jan 27, 2022
c6f6e3e
do not register infer var for GAT projection in opaque
compiler-errors Jan 27, 2022
db097f3
fix typo `documenation`
Karonazaba Jan 27, 2022
38f59a3
rustbuild: Fix compiletest warning when building outside of root.
ehuss Jan 27, 2022
81b4e51
Fix a typo from #92899
scottmcm Jan 28, 2022
ff79ce7
fix typo `documenation`
Karonazaba Jan 28, 2022
3bfae83
Rollup merge of #90532 - fee1-dead:improve-const-fn-err-msg, r=oli-obk
matthiaskrgr Jan 28, 2022
278d952
Rollup merge of #90677 - bobrippling:suggest-tuple-parens, r=camelid
matthiaskrgr Jan 28, 2022
ef165ab
Rollup merge of #93353 - kellerkindt:saturating_int_assign_impl, r=jo…
matthiaskrgr Jan 28, 2022
0214dca
Rollup merge of #93358 - compiler-errors:is-not-const, r=fee1-dead
matthiaskrgr Jan 28, 2022
a8022d7
Rollup merge of #93362 - compiler-errors:ice-gat-in-rpit, r=oli-obk
matthiaskrgr Jan 28, 2022
be1c9b5
Rollup merge of #93375 - Kvicii:ISSUE_93374, r=notriddle
matthiaskrgr Jan 28, 2022
e9105fe
Rollup merge of #93399 - ehuss:fix-compiletest-path-relative, r=Mark-…
matthiaskrgr Jan 28, 2022
a7d5966
Rollup merge of #93404 - rust-lang:scottmcm-patch-1, r=wesleywiser
matthiaskrgr Jan 28, 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
5 changes: 3 additions & 2 deletions src/bootstrap/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,10 @@ pub fn is_valid_test_suite_arg<'a, P: AsRef<Path>>(
if !path.starts_with(suite_path) {
return None;
}
let exists = path.is_dir() || path.is_file();
let abs_path = builder.src.join(path);
let exists = abs_path.is_dir() || abs_path.is_file();
if !exists {
if let Some(p) = path.to_str() {
if let Some(p) = abs_path.to_str() {
builder.info(&format!("Warning: Skipping \"{}\": not a regular file or directory", p));
}
return None;
Expand Down