Commit b1bd44d
committed
Auto merge of #13371 - epage:new-comment, r=weihanglo
fix(new): Print a note, rather than a comment, for more information
### What does this PR try to resolve?
For myself, I find it frustrating when tools add boilerplate that I have to remove after every use. A `note:` on the command-line is more ephemeral, helping people who need it while not interfering with those that don't.
Fixes #12210
### How should we test and review this PR?
### Additional informationFile tree
91 files changed
+73
-102
lines changed- src/cargo/ops
- tests/testsuite
- cargo_init
- auto_git
- out
- bin_already_exists_explicit_nosrc
- out
- bin_already_exists_explicit
- out
- bin_already_exists_implicit_namenosrc
- out
- bin_already_exists_implicit_namesrc
- out
- bin_already_exists_implicit_nosrc
- out
- bin_already_exists_implicit
- out
- creates_binary_when_both_binlib_present
- out
- creates_binary_when_instructed_and_has_lib_file
- out
- creates_library_when_instructed_and_has_bin_file
- out
- explicit_bin_with_git
- out
- formats_source
- out
- fossil_autodetect
- out
- git_autodetect
- out
- git_ignore_exists_no_conflicting_entries
- out
- ignores_failure_to_format_source
- out
- inferred_bin_with_git
- out
- inferred_lib_with_git
- out
- inherit_workspace_package_table
- out/crates/foo
- lib_already_exists_nosrc
- out
- lib_already_exists_src
- out
- mercurial_autodetect
- out
- path_contains_separator
- out
- pijul_autodetect
- out
- simple_bin
- out
- simple_git_ignore_exists
- out
- simple_git
- out
- simple_hg_ignore_exists
- out
- simple_hg
- out
- simple_lib
- out
- with_argument
- out/foo
- workspace_add_member
- out/crates/foo
- cargo_new
- add_members_to_workspace_format_previous_items
- out/crates/foo
- add_members_to_workspace_format_sorted
- out/crates/foo
- add_members_to_workspace_with_absolute_package_path
- out/crates/foo
- add_members_to_workspace_with_empty_members
- out/crates/foo
- add_members_to_workspace_with_exclude_list
- out/crates/foo
- add_members_to_workspace_with_members_glob
- out/crates/foo
- inherit_workspace_lints
- out/crates/foo
- inherit_workspace_package_table_with_edition
- out/crates/foo
- inherit_workspace_package_table_with_registry
- out/crates/foo
- inherit_workspace_package_table_without_version
- out/crates/foo
- inherit_workspace_package_table
- out/crates/foo
- not_inherit_workspace_package_table_if_not_members
- out/bar
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
91 files changed
+73
-102
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
788 | | - | |
| 787 | + | |
789 | 788 | | |
790 | 789 | | |
791 | 790 | | |
| |||
911 | 910 | | |
912 | 911 | | |
913 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
914 | 917 | | |
915 | 918 | | |
916 | 919 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
0 commit comments