You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update src/librustc_resolve/diagnostics.rs
Co-authored-by: David Wood <[email protected]>
Minor refactoring #72642
Fixed failing test-cases
remove trivial `mk_predicate`s
Make `SourceMap` available for early debug-printing of `Span`s
Normally, we debug-print `Spans` using the `SourceMap` retrieved from
the global `TyCtxt`. However, we fall back to printing out the `Span`'s
raw fields (instead of a file and line number) when we try to print a
`Span` before a `TyCtxt` is available. This makes debugging early phases
of the compile, such as parsing, much more difficult.
This commit stores a `SourceMap` in `rustc_span::GlOBALS` as a fallback.
When a `TyCtxt` is not available, we try to retrieve one from `GLOBALS`
- only if this is not available do we fall back to the raw field output.
I'm not sure how to write a test for this - however, this can be
verified locally by setting `RUSTC_LOG="rustc_parse=debug"`, and
verifying that the output contains filenames and line numbers.
Add test for #72554.
rustc_target: Remove `pre_link_args_crt`
Improve E0433, so that it suggests missing imports
Fix a typo in `late.rs`
Co-authored-by: Esteban Kuber <[email protected]>
fix `AdtDef` docs
Add Camelid
Email from @camelid:
> HI there,
>
> I’m a new contributor and I just looked at Rust Thanks and noticed that my contributions are listed under two different capitalizations of my name: “Camelid" and “camelid". Could you make them both “Camelid"?
>
> Thanks!
>
> Camelid
save_analysis: work on HIR tree instead of AST
Update `rls` submodule
remove outdated fixme
Hexagon libstd: fix typo for c_ulonglong
Add more assert to Vec with_capacity docs
Show assertion on len too to show them how adding new items will affect both the
length and capacity, before and after.
Add Kyle Strand to mailmap
Fix missing word in RELEASES.md
Update cargo
Enable lld for Cargo tests on Windows.
Fixed failing test-cases #72642
0 commit comments