Commit Graph

101 Commits

Author SHA1 Message Date
lcnr 46458edee5 nyaa 2025-01-15 14:23:48 +01:00
Max Heller 08b4cd8efc Use `id` attribute for `<a>` tags instead of deprecated `name` attribute (#2184) 2024-12-31 22:02:50 +08:00
lcnr 6af30f87b7 region-outlives propagation (#2169)
* region-outlives propagation

* woops

* gamer
2024-12-23 10:17:51 +01:00
Tshepang Mbambo ee9a5845e0 typo, pause 2024-12-18 07:56:30 +02:00
Ryan Mehri 421c7282e1 Fix some typos 2024-12-18 07:56:30 +02:00
lcnr 1f851c0fc5 update section even more (#2156) 2024-12-05 20:30:36 +08:00
lcnr fccf752c1c closure constraints (#2155) 2024-12-05 12:01:46 +01:00
Nicholas Nethercote 2d1a0479a6 Update for recent dataflow simplifications. (#2121) 2024-11-04 15:57:00 +08:00
cui fliter e012229e1e fix some comments (#2059)
Signed-off-by: cuishuang <imcusg@gmail.com>
2024-09-09 12:58:45 +02:00
Prashanth Mundkur d196a77485 Replace direct http links to rustc-dev-guide.rust-lang.org to relative links to the corresponding md source files. (#2044)
Use relative links to the corresponding md source files; this helps local browsing of generated docs.
2024-08-21 11:54:39 -07:00
Martin Liška fb1d8b872c linkcheck: fix reported broken links (part 1) (#2022) 2024-07-24 20:01:25 +08:00
surechen e5c589981c fix some typos 2024-05-21 11:56:12 +02:00
JohnEndson 69c820a470 Fix some comments
Signed-off-by: JohnEndson <jiayuzhen@outlook.com>
2024-03-28 13:58:43 +02:00
Ali MJ Al-Nasrawy 47293569fe add opaque-types-region-inference-restrictions 2024-03-27 09:49:05 +01:00
Yuki Okushi e0a9ace640 Fix more links (#1884) 2024-02-21 12:17:28 -03:00
Eric Huss ae9c529137 Update for upcoming markdown changes. (#1880) 2024-02-07 10:23:35 -03:00
David Semakula 23f15463d9 Fix some broken links (#1877) 2024-01-30 04:49:51 +09:00
Santiago Pastorino 5594a16f64 Add dropck documentation (#1767) 2023-08-18 23:13:31 +02:00
Yuki Okushi f13eeec25a Address the change in https://github.com/rust-lang/rust/pull/107256
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Tshepang Mbambo 8194045511 make date-check more lightweight (#1394)
* make date-check lightweight

This avoids having to write the date twice when updating date-check.

Before "As of <-- 2022-07 --> July 2022"
After "As of July 2022"

* please clippy

* update date-check docs

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017

* this breaks markdown

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268

This led to a more robust regex, though making the tool more picky.
It also found a wrong date format that was missed.

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816

* accept review suggestion

This was reverted by mistake

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395

* use a more simple fn

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981

Much more clean

* nit

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* avoid a failed regex

Also, test new shape

* adjust to new regex (which uses named groups)

New regex was introduced by 456008cc35

Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02 13:50:32 -07:00
lcnr 6c8505ff87 add section on user types (#1359)
* add section on user types

* line length

* review

* Update src/borrow_check/type_check.md

Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-06-08 14:21:01 -03:00
Yuki Okushi 6ec2a84d4d Update some links and docs (#1340) 2022-05-17 07:54:45 +09:00
Eric Holk 8c4e15a49a Minor type fix (#1337) 2022-04-14 19:44:36 +09:00
Yuki Okushi 8047e19802 Fix broken links related to `rustc_borrowck` (#1259)
* Fix broken links in region_inference.md

* Fix broken links in lifetime_parameters.md
2021-11-16 10:43:17 -03:00
Janggun Lee d03c7b8626 Fix `rustc_mir` related links (#1228)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Co-authored-by: nhamovitz <18648574+nhamovitz@users.noreply.github.com>
2021-10-29 00:58:26 +09:00
Yusuke Abe 48e6d474cc Update some docs from 2021-10 date triage (#1230) 2021-10-12 08:52:21 +09:00
Janggun Lee 3e63f3615c Update links to `rustc_mir` in Two Phase Borrows (#1226)
https://github.com/rust-lang/rust/pull/80522 split the `rustc_mir` crates into 5 crates, effectively invalidating all the direct links to `rustc_mir` in the docs.

I found this while looking at the Two Phase Borrows doc, which is why I am giving out this PR to fix this.
2021-10-06 09:07:51 -03:00
Camelid d6bd146507 Fix double-word typos (#1084)
Inspired by #1079. I used this command to find these typos:

    rg --multiline --pcre2 '\b([a-zA-Z]+) \1\b' src -tmd

There were a couple false positives of the form "that that" meaning
"that it" or "that this".
2021-03-12 03:29:19 +09:00
Santiago Pastorino b70deb1f65 Fix typos (#1079) 2021-03-10 23:56:51 +09:00
Camelid 9539f6c271 Fix formatting of more date references (#1067) 2021-02-22 18:22:23 +09:00
Camelid 6e02970f7f Add lots of date-check annotations
Also added dates for things that previously said "as of now" or "as of
this writing" and cleaned up a couple of things along the way.
2021-02-03 19:29:07 -05:00
Iñaki Garay 7a80b01e01 Add mdbook-toc, markers, and documentation (#1028)
* Add mdbook-toc to travis, book.toml  and documentation

* Add toc markers

* Whitespace cleanup and some punctuation

* Addressed comments
2021-01-20 14:33:11 -03:00
Iñaki Garay cd437dc04f Add context to dated information (#1013)
* Fixes #924 Add context to dated information

* Fixes #924 Addressed comments and some uses of 'currently'

* Update src/contributing.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Update src/salsa.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Fixes #924 Addressed comments

* Fixes #924 Fixed line lengths.

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2021-01-10 19:23:22 -03:00
mark 89f0b60ccc fix links and names after compiler mv to compiler/ 2020-08-31 05:12:13 +02:00
Yuki Okushi 8a3e706aca Rename `HAIR` to `THIR` 2020-08-02 08:39:33 -05:00
Bastian Kauschke c9f49c6581 words 2020-06-05 10:33:15 -05:00
Paul Daniel Faria ef8048d986 Add ids to all glossary items, make existing glossary links point to glossary, add links for def id in query.md 2020-04-05 12:46:22 -05:00
LeSeulArtichaut cb99cfcc1e Rename `librustc` to `librustc_middle` 2020-03-31 15:43:14 -05:00
ecstatic-morse c7bf757148 Update reference to `has_any_child_of` in docs
This function was obsoleted by `find_in_move_path_or_its_descendants`.
2020-03-31 15:43:14 -05:00
Youngsuk Kim ff66b6f813 Add link to `rustc::mir::Location` (#579) 2020-02-14 23:56:21 +09:00
Youngsuk Kim 1923edf526 Correction of type name (#576)
`ConstraintSet` => `OutlivesConstraintSet`
2020-02-12 17:15:44 -03:00
Yuki Okushi 2d61e5cd29 Fix links 2020-01-13 13:14:26 -06:00
Mark Mansi a7d92d89ff update NLL after refactorings 2019-12-14 06:41:11 -06:00
Mark Mansi 45cd6946b7 fix broken links 2019-11-05 11:58:33 -06:00
Eric Huss 27f0854e6c Fix some broken fragment links. 2019-11-05 11:35:34 -06:00
lzutao 45a3c4f5cc Prefer https in GitHub pages urls (#454) 2019-09-30 11:26:27 -03:00
Brian Foley 666a0d3517 Fix miscellaneous spelling typos. (#397) 2019-07-25 19:25:26 -03:00
Santiago Pastorino 5f9c15066c Place is now a struct on nightly 2019-07-25 16:26:54 -05:00
Yuki Okushi 842cfe96f4 Minor fix in borrow_check
Fixes as follows:

- fixes spelling
- removes unnecessary white spaces and blank lines
2019-07-17 10:40:33 -05:00
Yuki Okushi 465a21de3c Fix broken links (#382) 2019-07-04 14:41:50 +03:00