| Age | Commit message (Collapse) | Author | Lines |
|
After moving some `Box` internals to a different module,
the path in the diagnostic changed.
|
|
contributing guide: mention expectations around force pushes and squashing
|
|
Updating Fuchsia platform-support documentation
Updated for changes in the package server workflow.
r? ``@tmandry`` ``@erickt``
|
|
r=notriddle
[rustdoc] Unify variant struct fields margins with struct fields
As discussed in https://github.com/rust-lang/rust/pull/132220.
| before | after |
|-|-|
|  |  |
r? ```@notriddle```
|
|
Add `LayoutS::is_uninhabited` and use it
Use accessors for the things that accessors are good at: reducing everyone's need to be nosy and peek at the internals of every data structure.
|
|
|
|
Updated for changes in the package server workflow.
|
|
By removing interior mutability from it.
|
|
This makes download-rustc="if-unchanged" more functional and useful
for library developers.
Signed-off-by: onur-ozkan <work@onurozkan.dev>
|
|
13.2 is EoL, and 13.3 will be EoL too in about 2 months. Plus, both
suffer from a bug in LLVM's libunwind. It causes a segfault inside of
std::backtrace::Backtrace::capture().
Fixes #132185
|
|
|
|
|
|
feat: Support `cfg(true)` and `cfg(false)`
|
|
Move text-edit into ide-db
|
|
fix: Allow public re-export of `extern crate` import
|
|
fix: Properly resolve prelude paths inside modules inside blocks
|
|
Report document symbols of kind `variable` for let statements
|
|
|
|
|
|
Rollup of 4 pull requests
Successful merges:
- #131391 (Stabilize `isqrt` feature)
- #132248 (rustc_transmute: Directly use types from rustc_abi)
- #132252 (compiler: rename LayoutS to LayoutData)
- #132253 (Known-bug test for `keyword_idents` lint not propagating to other files)
r? `@ghost`
`@rustbot` modify labels: rollup
|
|
|
|
r=jieyouxu
compiler: rename LayoutS to LayoutData
Bid `LayoutS` goodbye because it looks like a typo.
`LayoutS` is the last of the types that use the "`{TypeName}` is the interned type, `{TypeName}S` is the backing data that is interned" convention. This is pretty confusing to those not intimately familiar with the history of rustc's names for its types over time, and doubly so now that there are no other examples in the tree. Abolish this convention.
|
|
Stabilize `isqrt` feature
Stabilizes the `isqrt` feature. FCP is incomplete.
Closes #116226
|
|
internal: Build source map for `hir_def::TypeRef`s
|
|
fix various linker warnings
separated out from https://github.com/rust-lang/rust/pull/119286; this doesn't have anything user-facing, i just want to land these changes so i can stop rebasing them.
r? `@bjorn3`
|
|
Start using `Option::is_none_or`
|
|
internal: Stop producing .gz artifacts for Windows
|
|
|
|
Android: Added syscall support
|
|
|
|
|
|
Add option for generating coverage reports
|
|
Dynamically link run-make support
Fixes #131810
r? `@jieyouxu`
|
|
|
|
this avoids warnings from macOS ld
|
|
|
|
Add a `--coverage` option in the `test` subcommand of the miri script.
This option, when set, will generate a coverage report after running the
tests.
`cargo-binutils` is needed as a dependency to generate the reports.
|
|
|
|
|
|
Implement LLVM x86 vpclmulqdq intrinsics
|
|
Miri subtree update
r? `@ghost`
|
|
I.e. the following situation:
```
fn foo() {
mod bar {
fn qux() {
// Prelude path here (e.g. macro use prelude or extern prelude).
}
}
}
```
Those were previously unresolved, because, in order to support `self` and `super` properly, since #15148 we do not ascend block paths when there is a module in between, but only crate def maps register preludes, not block def maps, and we can't change this because block def map prelude can always be overridden by another block. E.g.
```
fn foo() {
struct WithTheSameNameAsPreludeItem;
{
WithTheSameNameAsPreludeItem
}
}
```
Here `WithTheSameNameAsPreludeItem` refer to the item from the top block, but if we would register prelude items in each block the child block would overwrite it incorrectly.
|
|
This reverts commit 1239c81c145d2bfb96f32856f377cd741d5c7256.
Fix GH-132185 revert for now until early next year/FreeBSD 13.3
becomes EOL.
|
|
|
|
|
|
simplify force-recompile logic for "library"
It’s kind of self-explanatory when looking at it commit by commit.
|
|
fix: Put leading `|` in patterns under `OrPat`
|
|
Previously it was one level above, and that caused problems with macros that expand to it, because macros expect to get only one top-level node.
|
|
internal: Invert token iteration order in macro mapping
|
|
|