Skip to content

Commit 71551a9

Browse files
authored
Unrolled build for #142413
Rollup merge of #142413 - tshepang:rdg-push, r=jieyouxu rustc-dev-guide subtree update r? `@ghost`
2 parents 015c777 + 7db4177 commit 71551a9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/doc/rustc-dev-guide/rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c31cccb7b5cc098b1a8c1794ed38d7fdbec0ccb0
1+
14346303d760027e53214e705109a62c0f00b214

src/doc/rustc-dev-guide/src/git.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ The most common cause is that you rebased after a change and ran `git add .` wit
142142
`x` to update the submodules. Alternatively, you might have run `cargo fmt` instead of `x fmt`
143143
and modified files in a submodule, then committed the changes.
144144

145-
To fix it, do the following things:
145+
To fix it, do the following things (if you changed a submodule other than cargo,
146+
replace `src/tools/cargo` with the path to that submodule):
146147

147148
1. See which commit has the accidental changes: `git log --stat -n1 src/tools/cargo`
148149
2. Revert the changes to that commit: `git checkout <my-commit>~ src/tools/cargo`. Type `~`

src/doc/rustc-dev-guide/src/tests/compiletest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ default behavior without any commands is to:
115115
2. Run `rustc -Zunpretty=normal` on the output of the previous step.
116116
3. The output of the previous two steps should be the same.
117117
4. Run `rustc -Zno-codegen` on the output to make sure that it can type check
118-
(this is similar to running `cargo check`).
118+
(similar to `cargo check`).
119119

120120
If any of the commands above fail, then the test fails.
121121

0 commit comments

Comments
 (0)