Commit Graph

2663 Commits

Author SHA1 Message Date
Tshepang Mbambo 178cc75469
Merge pull request #2392 from rust-lang/rustc-pull
Rustc pull update
2025-05-20 04:37:19 +02:00
Stan Manilov 6ec183f9bc
Update link to Forge guide on new flags 2025-05-19 17:32:29 +03:00
nora 25b50b3770
Merge pull request #2394 from smanilov/patch-9
Make run instructions first
2025-05-19 14:34:27 +02:00
Stan Manilov 007a7a109c
Make run instructions first
Better, because then one knows how to run the examples.
2025-05-19 14:44:36 +03:00
Stan Manilov eae6f4ce66
Remove unused references and simplify one 2025-05-19 14:41:19 +03:00
nora d4e4ad1ba9
Merge pull request #2389 from fuzzypixelz/typos
Fix typos in "Libraries and Metadata"
2025-05-19 12:39:24 +02:00
The rustc-dev-guide Cronjob Bot 360823ca60 Merge from rustc 2025-05-19 04:16:41 +00:00
León Orell Valerian Liehr 4123a275be
Exclude issues with an associated PR from the "What should I work on" GH query 2025-05-18 20:01:47 +02:00
Mahmoud Mazouz ef032e8c8d
Fix typos in "Libraries and Metadata" 2025-05-18 15:37:18 +02:00
Jieyou Xu 2ef17aa39b
rustc-dev-guide: fix Rust for Linux rust-lang/rust label 2025-05-17 23:51:50 +08:00
Matthias Krüger 48e203443d
Rollup merge of #141026 - tshepang:rust-push, r=jieyouxu
rustc-dev-guide subtree update

r? ``@ghost``
2025-05-16 07:19:43 +02:00
The rustc-dev-guide Cronjob Bot 142b48a021 Merge from rustc 2025-05-15 09:46:22 +00:00
Tshepang Mbambo ea21da3dac avoid upstream pull conflict
We changed this line and have not pushed it upstream yet,
and upstream changed it in the meanwhile.
2025-05-15 11:39:59 +02:00
Tshepang Mbambo f1127a948e
Merge pull request #2373 from rust-lang/tshepang-patch-2
avoid duplicating commands
2025-05-15 00:34:38 +02:00
Tshepang Mbambo 8bc57dec32
Merge pull request #2379 from rust-lang/tshepang-which-chapter
clean TypeFold* chapter
2025-05-15 00:33:47 +02:00
Matthias Krüger 278937a7a8
Rollup merge of #140904 - ehuss:future-incompat-template, r=Mark-Simulacrum
Add an issue template for future-incompatible lints

This adds a GitHub issue template for future-incompatible lints. Most of the existing tracking issues have been using different formats with different information, and I think it would be helpful to make them a little more consistent and to ensure that sufficient information is provided.

Some comments on my choices:
* Added a dedicated section to describe *why* the change is being made. Many existing issues already have this, so let's standardize on it.
* Have a section with a very clear example. Almost all of the existing issues have this in one form or another.
* Added a "Recommendations" section, since this is something I see missing in several of the existing issues, and this is really important information IMHO.
* I reworded the "When" section. The existing template mentioned that these get reviewed every 6 weeks which my understanding is not true. That's also not very helpful information to the user, since it doesn't really answer the question. I'm not sure this section will actually be useful since I suspect most of the time we don't know when it will change (there have been a few exceptions).
* Clearly show the expected progression steps. Several issues already have this.
* Added implementation history, which is useful for linking PRs. (IDK, this could get merged with "Steps".)
2025-05-14 18:43:38 +02:00
Tshepang Mbambo 45107c759a remove dangling references 2025-05-12 23:59:55 +02:00
omahs 5a04183ad2 Fix typos 2025-05-12 17:20:49 +00:00
许杰友 Jieyou Xu (Joe) 946f27e9d3
Merge pull request #2378 from smanilov/patch-7 2025-05-12 21:32:54 +08:00
Stan Manilov e96bd9bfc0 Remove n.b. about parser refactoring
Discussed in PR 2378; the note was outdated.
2025-05-12 14:27:26 +03:00
Zalathar 8ebe4672cb Remove obsolete reference to `unsized_tuple_coercion` 2025-05-12 18:14:43 +10:00
Eric Huss 90d8951b3a Add an issue template for future-incompatible lints 2025-05-11 06:55:36 -07:00
Tshepang Mbambo 7f333c0cd2 last updated a year ago 2025-05-10 13:07:34 +02:00
Tshepang Mbambo 919836d9f2 sembr 2025-05-10 12:59:37 +02:00
Tshepang Mbambo 1dff715902 reduce clutter when reading source 2025-05-10 12:56:03 +02:00
Tshepang Mbambo 6b12439a07 fix broken links 2025-05-10 12:43:59 +02:00
Tshepang Mbambo e2171b97e7 is a question 2025-05-10 12:35:50 +02:00
Tshepang Mbambo 39c758c3af sembr 2025-05-10 12:35:40 +02:00
Tshepang Mbambo ff1e1d1bcc make more readable 2025-05-10 12:34:43 +02:00
Tshepang Mbambo 1d1a050dcd make more clear what is meant 2025-05-10 12:33:45 +02:00
Tshepang Mbambo ac44773f06 use the right case 2025-05-10 12:32:59 +02:00
Tshepang Mbambo fde7c94e0d link to chapter referred to
This made it look the the topic was covered in the chapter just before
the current one.
2025-05-10 12:21:56 +02:00
Tshepang Mbambo a2cc4ae295
Merge pull request #2376 from smanilov/patch-5
Fix minor typo in rustdoc-internals.md
2025-05-09 15:53:15 +02:00
Stan Manilov 374f53e02b Fix minor typo in rustdoc-internals.md 2025-05-09 15:50:49 +03:00
Tomasz Miąsko b82a852640 Remove mono item collection strategy override from -Zprint-mono-items
Previously `-Zprint-mono-items` would override the mono item collection
strategy. When debugging one doesn't want to change the behaviour, so
this was counter productive. Additionally, the produced behaviour was
artificial and might never arise without using the option in the first
place (`-Zprint-mono-items=eager` without `-Clink-dead-code`).  Finally,
the option was incorrectly marked as `UNTRACKED`.

Resolve those issues, by turning `-Zprint-mono-items` into a boolean
flag that prints results of mono item collection without changing the
behaviour of mono item collection.

For codegen-units test incorporate `-Zprint-mono-items` flag directly
into compiletest tool.

Test changes are mechanical. `-Zprint-mono-items=lazy` was removed
without additional changes, and `-Zprint-mono-items=eager` was turned
into `-Clink-dead-code`.  Linking dead code disables internalization, so
tests have been updated accordingly.
2025-05-09 12:19:09 +02:00
Jakub Beránek ff2b6fd0cb
Mention fast try builds in the rustc-dev-guide 2025-05-08 16:00:48 +02:00
Stan Manilov e1c08547a1
Fix minor typo in installation.md 2025-05-08 16:36:53 +03:00
Stan Manilov 7434026e13 Remark test naming exception 2025-05-08 14:05:31 +03:00
Stan Manilov 0e630fb60d
Fix minor typo in serialization.md 2025-05-08 11:13:50 +03:00
Guillaume Gomez 5514fe9ef6
Rollup merge of #140234 - nnethercote:separate-Analysis-and-Results, r=davidtwco
Separate dataflow analysis and results

`Analysis` gets put into `Results` with `EntryStates`, by `iterate_to_fixpoint`. This has two problems:
- `Results` is passed various places where only `Analysis` is needed.
- `EntryStates` is passed around mutably everywhere even though it is immutable.

This commit mostly separates `Analysis` from `Results` and fixes these two problems.

r? `@davidtwco`
2025-05-07 18:19:04 +02:00
Tshepang Mbambo 6813f5f9b6
avoid duplicating commands
The 2 commands do the same thing.
Also, follow style used elsewhere in the guide.
2025-05-06 14:56:51 +02:00
Vadim Petrochenkov 0d29d41413 compiletest: Support matching on non-json lines in compiler output
and migrate most of remaining `error-pattern`s to it.
2025-05-04 18:27:45 +03:00
Tshepang Mbambo 72a9e36e04
Merge pull request #2367 from rust-lang/rustc-pull
Rustc pull update
2025-05-01 07:01:46 +02:00
Martin Ombura Jr. 7f939765c4 adds commas 2025-05-01 04:07:27 +00:00
The rustc-dev-guide Cronjob Bot f6524cb54d Merge from rustc 2025-05-01 04:05:49 +00:00
Martin Ombura Jr. 9c4b433575 adds 'with' to help clarify how to build a new compiler 2025-05-01 04:01:42 +00:00
Vadim Petrochenkov d41f1f4219 compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
Tshepang Mbambo 1b2f1c30d9
for a more friendly output
Also, these are normal Rust things (crates/packages), so remove the word *normal*.
2025-04-29 23:39:06 +02:00
Tshepang Mbambo 64dd1c3a8c
Merge pull request #2363 from smanilov/patch-1
Update compiler-src.md
2025-04-29 23:01:31 +02:00
Travis Cross 2cc8f1a3a1 Merge PR #2360: Add docs about stabilizing an edition 2025-04-29 19:09:46 +00:00