rust/compiler/rustc_resolve/src
Matthias Krüger 36316df9fe
Rollup merge of #124067 - RalfJung:weak-lang-items, r=davidtwco
weak lang items are not allowed to be #[track_caller]

For instance the panic handler will be called via this import
```rust
        extern "Rust" {
            #[lang = "panic_impl"]
            fn panic_impl(pi: &PanicInfo<'_>) -> !;
        }
```
A `#[track_caller]` would add an extra argument and thus make this the wrong signature.

The 2nd commit is a consistency rename; based on the docs [here](https://doc.rust-lang.org/unstable-book/language-features/lang-items.html) and [here](https://rustc-dev-guide.rust-lang.org/lang-items.html) I figured "lang item" is more widely used. (In the compiler output, "lang item" and "language item" seem to be pretty even.)
2024-04-23 12:10:25 +02:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Parsing , pre-lowering support for precise captures 2024-04-15 16:45:01 -04:00
build_reduced_graph.rs Port build_reduce_graph 2024-04-13 14:50:25 +01:00
check_unused.rs fixes #121331 2024-03-14 09:54:42 +08:00
def_collector.rs s/mt/mutability/ 2024-03-12 05:53:46 +00:00
diagnostics.rs Migrate more diagnostics 2024-04-13 14:50:25 +01:00
effective_visibilities.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
errors.rs Reorder error messages 2024-04-13 15:11:09 +01:00
ident.rs Fix f16 and f128 feature gates in editions other than 2015 2024-04-03 16:03:22 -04:00
imports.rs Silence unused_imports lint for redundant imports 2024-04-11 14:38:21 -04:00
late.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
lib.rs consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
macros.rs Migrate more diagnostics 2024-04-13 14:50:25 +01:00
rustdoc.rs rustdoc: point at span in include_str!-ed md file 2024-03-29 13:31:35 -07:00