cargo/tests/testsuite
bors bd5db301b0 Auto merge of #10868 - Muscraft:add-reason-for-nightly-tests, r=ehuss
add a reason to `masquerade_as_nightly_cargo` so it is searchable

When I was working on the stabilization for workspace inheritance, it was very tedious to find all of the places to remove `.masquerade_as_nightly_cargo()`. I [suggested](https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/problems.20finding.20.60.2Emasquerade_as_nightly_cargo.28.29.60) to add a reason to `.masquerade_as_nightly_cargo()` so that it would be easier to find all of the places to remove it. By adding the reason it makes it easy to search for all places with the features name. This PR adds the reason(s) to all of the places `.masquerade_as_nightly_cargo()` is called, as well as updates the documentation so it talks about adding a reason when making the call.
2022-07-16 18:36:58 +00:00
..
cargo_add add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
init refactor(test): Clarify asserts are for UI 2022-06-21 14:59:54 -05:00
mock-std Revert "Check if rust-src contains a vendor dir, and patch it in" 2020-12-11 07:45:27 -08:00
advanced_env.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
alt_registry.rs Improve testing framework for http registries 2022-06-10 16:51:35 -05:00
artifact_dep.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
bad_config.rs Port cargo from toml-rs to toml_edit 2022-01-13 09:27:27 -06:00
bad_manifest_path.rs track_caller on custom assert functions 2021-03-03 17:17:07 +00:00
bench.rs No printing executable names when running benches with json message format 2022-05-24 20:44:54 +07:00
binary_name.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
build.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
build_plan.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
build_script.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
build_script_env.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
build_script_extra_link_arg.rs remove .masquerade_as_nightly_cargo() from build_script_extra_link_arg.rs 2022-07-14 15:05:33 -05:00
cache_messages.rs Deduplicate compiler diagnostics. 2021-07-09 16:20:46 -07:00
cargo_alias_config.rs Add test for alias shadowing external subcommand 2021-11-17 09:23:06 +01:00
cargo_command.rs fix some typos 2022-05-08 01:07:28 +08:00
cargo_config.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
cargo_env_config.rs remove unneeded nightly flags from various tests 2022-07-14 19:55:44 -05:00
cargo_features.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
cargo_targets.rs Warn if an "all" target is specified, but we don't match anything 2021-06-09 19:29:24 +02:00
cfg.rs Fix issue with filtering exclusive target dependencies. 2021-03-11 11:41:00 -08:00
check.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
check_cfg.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
clean.rs Use is_symlink() method 2022-01-14 00:36:24 +03:00
collisions.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
concurrent.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
config.rs Stabilize --config 2022-06-17 22:46:04 +00:00
config_cli.rs Stabilize --config 2022-06-17 22:46:04 +00:00
config_include.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
corrupt_git.rs Move paths to cargo-util. 2021-03-20 17:42:41 -07:00
credential_process.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
cross_compile.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
cross_publish.rs Update tests to use registry names 2021-07-22 00:50:30 +08:00
custom_target.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
death.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
dep_info.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
directory.rs Update tests to use registry names 2021-07-22 00:50:30 +08:00
doc.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
edition.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
error.rs Rework internal errors. 2020-02-17 19:03:57 -08:00
features.rs add preloading for workspace packages in resolve_with_previous so manifests aren't parsed twice 2022-06-16 15:34:22 -05:00
features2.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
features_namespaced.rs Do not ignore --features when --all-features is present 2022-01-28 02:49:42 +03:00
fetch.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
fix.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
freshness.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
future_incompat_report.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
generate_lockfile.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
git.rs Fix corrupted git checkout recovery. 2022-07-05 21:02:08 -07:00
git_auth.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
git_gc.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
glob_targets.rs fix typos found by the typos-cli crate 2022-05-10 16:47:28 -05:00
help.rs fix panic if an alias is defined to "" 2021-12-12 13:30:31 -07:00
inheritable_workspace_fields.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
install.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
install_upgrade.rs fix(yank): Use '--version' like install 2022-04-19 16:45:13 -05:00
jobserver.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
list_availables.rs test: list availables for clean,tree,update 2020-10-28 02:46:20 +08:00
local_registry.rs Restore proper error for crate not in local reg 2022-05-20 18:24:26 +00:00
locate_project.rs Remove the double-backslash escape for matching. 2021-06-16 09:44:29 -07:00
lockfile_compat.rs add a test 2022-03-03 18:49:52 +00:00
login.rs Improve testing framework for http registries 2022-06-10 16:51:35 -05:00
logout.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
lto.rs Merge branch 'master' into yerke/no-run-test-executable-path 2022-01-30 23:13:35 -08:00
main.rs Move check cfg tests to their own module 2022-05-06 22:42:28 +02:00
member_discovery.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
member_errors.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
message_format.rs Bump to 0.54.0 2021-03-26 12:28:47 -07:00
messages.rs add short path name for executables 2022-01-31 10:37:02 -08:00
metabuild.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
metadata.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
minimal_versions.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
multitarget.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
net_config.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
new.rs Guide new users to add use super::*; to mod test 2022-05-27 23:41:37 +08:00
offline.rs Add offline_and_locked_and_no_frozen test 2022-03-27 11:13:24 +08:00
old_cargos.rs Improve testing framework for http registries 2022-06-10 16:51:35 -05:00
out_dir.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
owner.rs Minor update to registry API error messages. 2021-02-27 12:38:17 -08:00
package.rs Improve testing framework for http registries 2022-06-10 16:51:35 -05:00
package_features.rs remove unneeded nightly flags from various tests 2022-07-14 19:55:44 -05:00
patch.rs Port cargo from toml-rs to toml_edit 2022-01-13 09:27:27 -06:00
path.rs Emit warning upon encountering ambiguous deps 2022-05-28 03:32:04 +00:00
paths.rs Replace deprecated [replace] references with [patch] 2021-06-02 12:30:56 +02:00
pkgid.rs fix some typos 2022-05-08 01:07:28 +08:00
plugins.rs Fix plugin registrar change. 2021-08-14 15:31:06 -07:00
proc_macro.rs Use warn_on_deprecated 2022-03-10 00:08:28 +08:00
profile_config.rs Extend pkgid syntax with @ support 2022-04-19 16:00:15 -05:00
profile_custom.rs remove unneeded nightly flags from various tests 2022-07-14 19:55:44 -05:00
profile_overrides.rs Extend pkgid syntax with @ support 2022-04-19 16:00:15 -05:00
profile_targets.rs fix typos found by the typos-cli crate 2022-05-10 16:47:28 -05:00
profiles.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
progress.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
pub_priv.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
publish.rs Improve testing framework for http registries 2022-06-10 16:51:35 -05:00
publish_lockfile.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
read_manifest.rs Add rust_metadata to SerializedPackage 2021-10-12 14:07:19 +02:00
registry.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
rename_deps.rs Remove more unused code 2021-10-12 14:22:17 -07:00
replace.rs Extend pkgid syntax with @ support 2022-04-19 16:00:15 -05:00
required_features.rs Also handle --examples 2022-03-31 11:13:49 -07:00
run.rs Fix term.verbose without quiet, and vice versa 2022-02-26 14:17:00 -08:00
rust_version.rs Stabilize rust-version 2021-08-02 13:38:58 +02:00
rustc.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
rustc_info_cache.rs Don't re-use rustc cache when RUSTC_WRAPPER changes 2021-04-16 20:08:11 +03:00
rustdoc.rs Update rustdoc tests with -Cmetadata flag 2021-10-12 19:33:23 -07:00
rustdoc_extern_html.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
rustdocflags.rs test: make tests compatible when force using argfile 2022-04-10 22:23:20 +08:00
rustflags.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
search.rs Improve testing framework for http registries 2022-06-10 16:51:35 -05:00
shell_quoting.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
standard_lib.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
test.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
timings.rs Move timing reports to target/cargo-timings 2022-01-30 21:43:52 -08:00
tool_paths.rs Match any error when failing to find executables 2021-11-17 11:09:52 +00:00
tree.rs Extend pkgid syntax with @ support 2022-04-19 16:00:15 -05:00
tree_graph_features.rs Do not ignore --features when --all-features is present 2022-01-28 02:49:42 +03:00
unit_graph.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
update.rs Add rust_metadata to SerializedPackage 2021-10-12 14:07:19 +02:00
vendor.rs vendor: Don't allow multiple values for --sync 2022-03-11 10:41:12 -06:00
verify_project.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
version.rs Add os to verbose version string. 2021-10-11 11:22:48 -07:00
warn_on_failure.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
weak_dep_features.rs Port cargo from toml-rs to toml_edit 2022-01-13 09:27:27 -06:00
workspaces.rs Auto merge of #10784 - tedinski:fix-10783, r=epage 2022-07-16 02:32:05 +00:00
yank.rs feat(yank): Support foo@version like cargo-add 2022-04-19 17:00:42 -05:00