Commit Graph

2296 Commits

Author SHA1 Message Date
lcnr e082dc6f00 and again 2024-03-04 16:35:43 +00:00
lcnr 0d04d711d4 unfk links 2024-03-04 16:32:44 +00:00
lcnr 3af8b74e54
next-solver: document caching (#1923) 2024-03-04 17:26:06 +01:00
Stuart Cook fbea746002
Add compiletest docs for FileCheck prefixes and `//@ filecheck-flags:` (#1914)
This patch also adds docs for `//@ llvm-cov-flags:`, and notes that coverage
tests support revisions (though none of the current tests actually do so).
2024-03-01 23:30:17 +01:00
Arthur Milchior d866c3863c
Use different type in an example (#1908)
* Use different type in an example

Sentences such as «without the argument u32» were ambiguous, as there were two distincts u32. Having a single one, the one in the monomorphization of the type, remove the ambiguity.

* Update src/ty.md

---------

Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
2024-03-01 23:26:16 +01:00
许杰友 Jieyou Xu (Joe) a9ab50ba68
Update run-make test description (#1920) 2024-03-01 23:22:50 +01:00
Christopher Smyth cf9fb88049
Add some more details on feature gating (#1891)
* Add some more details on feature gating

* Apply suggestions from code review

---------

Co-authored-by: Ross Smyth <rsmyth@electrocraft.com>
Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
2024-03-01 23:20:06 +01:00
Nilstrieb 9ef55c55db
make shell.nix better (#1858)
* make shell.nix better

* Mention using RUST_BOOTSTRAP_CONFIG

* Move things to `buildInputs` and add `glibc.out glibc.static`

This fixes the nofile-limit.rs UI test.

* short lines for the short line fans

* Fix pkgs
2024-03-01 21:26:19 +01:00
lcnr 231c30fcfa
opaque types in new solver (#1918)
* add opaque types doc

* summary
2024-03-01 13:11:55 +01:00
lcnr a539558158
add implied bounds doc (#1915)
* add implied bounds doc

* lazy type aliases also have explicit implied bounds
2024-02-29 10:46:28 +01:00
许杰友 Jieyou Xu (Joe) 7b0ef5b0be Update compiletest directives to be in `ui_test` style `//@` 2024-02-22 20:15:52 +01:00
Yukang a29bab89af
Add notes on tweak rust-analyzer.check.overrideCommand (#1890) 2024-02-21 12:18:39 -03:00
Yuki Okushi bafd382a4a
Fix more links (#1884) 2024-02-21 12:17:28 -03:00
Matthew Woodcraft 2ae89498fc Remove reference to -Z ast-json and -Z ast-json-noexpand
These were removed in 2021.
https://github.com/rust-lang/rust/pull/85993
2024-02-17 20:47:05 +01:00
许杰友 Jieyou Xu (Joe) 75aad4b9d9 Specify ui test suite directives and add note on ignore-tidy directives 2024-02-16 18:26:58 -05:00
Michael Goulet 2c01b499aa Update src/tests/ui.md
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-02-16 18:13:52 -05:00
Oli Scherer 2c6117b5ad Update docs about ui tests now using `//@` headers 2024-02-16 18:13:52 -05:00
Jakub Beránek 91332ec5e4
Make git rebase commands more bulletproof (#1889) 2024-02-14 19:00:15 -03:00
Tshepang Mbambo aa797838e8
updating-llvm.md: command does not work (#1887) 2024-02-13 22:39:15 +09:00
Gnana Ganesh e3db7340e5 fix update llvm build command 2024-02-13 14:13:06 +02:00
Tshepang Mbambo 1f30cc7cca separate link target from normal content 2024-02-11 06:36:15 +01:00
Tshepang Mbambo 2c8856ae5b fix sentence 2024-02-11 06:36:15 +01:00
Nicholas Nethercote e3d8733f7b Some updates for recent diagnostics changes. 2024-02-10 04:48:19 +02:00
Gurinder Singh af8e2fe2f8 Rename occurrences of 'delay_span_bug' to 'span_delayed_bug'
since this method has been renamed in rustc.

Also remove a link to  documentation in error-guaranteed.md because it was unused
2024-02-08 20:16:06 +02:00
Eric Huss fd6ed0ddcd
Update for upcoming markdown changes. (#1880) 2024-02-07 10:23:35 -03:00
syvb 91150253a1 Update uses of renamed BoxMeUp to PanicPayload 2024-01-30 09:56:43 +00:00
Arthur Milchior 9f9c9d28d4
Add links for arena and interning. (#1868)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-30 04:55:16 +09:00
Arthur Milchior 11aa615575
Improving macro expansion section (#1875) 2024-01-30 04:53:39 +09:00
Arthur Milchior ea1767da49
Replace letters by foo, bar and buz in lexing example (#1870) 2024-01-30 04:53:07 +09:00
David Semakula 4875b60780
Fix some broken links (#1877) 2024-01-30 04:49:51 +09:00
Yuki Okushi ec287e3327
Upgrade actions to use Node.js v20 (#1863) 2024-01-28 19:45:18 -03:00
Yuki Okushi 3329715501
Fix some links (#1865) 2024-01-28 19:44:41 -03:00
Arthur Milchior f8f61f94ea
Add link in salsa (#1866)
* Add link in salsa

* Update src/salsa.md

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>

* Update src/salsa.md

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>

---------

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-01-28 19:42:26 -03:00
Arthur Milchior 7c6fe0b0ac
Clarify what rt.rs is. (#1876)
Most files names are relatively explicit and probably don't need to be
explicited.  However `rt.rs` is really not clear, and I believe it clarifies the
text to indicate this is runtime service implementation.
2024-01-28 19:40:36 -03:00
the8472 9dbff1e8a6
update link to rustc dependencies (#1869) 2024-01-28 12:42:18 +01:00
Arthur Milchior 5a7b5f8643
Followup to #1862 (#1864) 2024-01-28 06:12:41 +09:00
Arthur Milchior a79d2364e7
Clarify debugging graph dependency (#1862) 2024-01-28 05:42:06 +09:00
Shoyu Vanilla 4401e47e6b
Get diagnostics directly in `rustc-driver-getting-diagnostics` example (#1857) 2024-01-22 04:41:55 +09:00
Shoyu Vanilla c2717f6fe6
Update examples (#1856)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-21 22:26:41 +09:00
Jakub Beránek 4b5116a5cf Add a perf. bot command and a link to its help page 2024-01-20 18:20:04 +01:00
Yukang a0eee2cfae
Add some explanations for frequently used rustbot commands (#1849)
* add some explain for rustbot commands

* add more details about shortcuts

* fix words on `r=someone`

Co-authored-by: Yuki Okushi <jtitor@2k36.org>

---------

Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-20 19:56:35 +08:00
Tshepang Mbambo bd181b2457
update some of the diagnostic translations info (#1711) 2024-01-20 20:47:06 +09:00
matthewjasper 4767d5af94
Document unsafety checking (#1847)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-20 20:46:58 +09:00
Zalathar 1dc1152ccc Remove outdated references to `-Z dump-mir-spanview`
This flag was removed by <https://github.com/rust-lang/rust/pull/119566>.
2024-01-16 10:28:45 +02:00
onur-ozkan f3f15a9c04 update old bootstrap docs
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-01-15 19:44:49 +02:00
León Orell Valerian Liehr 4af29d1a7f Add guidelines for backport-accepted PRs 2024-01-14 11:42:53 +01:00
León Orell Valerian Liehr fc36182723 Mention label has-merge-commits 2024-01-14 11:42:53 +01:00
Arthur Milchior 8042fcc7d8 Correct the link to rust reference
The current link provides a link to two versions of the book, both redirecting to the "current version", which is the link this PR uses
2024-01-12 14:08:53 +02:00
Nadrieril 45fa40412f Explain the important concepts of exhaustiveness checking 2024-01-07 11:54:59 +02:00
Michael Howell 5606d30fcc
Add guide for rustdoc search implementation (#1846) 2024-01-06 18:47:01 +01:00