mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix compiletest and doc comment
This commit is contained in:
@@ -57,7 +57,7 @@ pub enum PathFreshness {
|
||||
/// whose modifications would invalidate the artifact.
|
||||
/// Each pathspec can also be a negative match, i.e. `:!foo`. This matches changes outside
|
||||
/// the `foo` directory.
|
||||
/// See https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
|
||||
/// See <https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec>
|
||||
/// for how git `pathspec` works.
|
||||
///
|
||||
/// The function behaves differently in CI and outside CI.
|
||||
|
||||
@@ -745,7 +745,7 @@ fn modified_tests(config: &Config, dir: &Utf8Path) -> Result<Vec<Utf8PathBuf>, S
|
||||
&vec!["rs", "stderr", "fixed"],
|
||||
)?;
|
||||
// Add new test cases to the list, it will be convenient in daily development.
|
||||
let untracked_files = get_git_untracked_files(Some(dir))?.unwrap_or(vec![]);
|
||||
let untracked_files = get_git_untracked_files(Some(dir.as_std_path()))?.unwrap_or(vec![]);
|
||||
|
||||
let all_paths = [&files[..], &untracked_files[..]].concat();
|
||||
let full_paths = {
|
||||
|
||||
Reference in New Issue
Block a user