rust/compiler
Matthias Krüger b963750b6b
Rollup merge of #130485 - compiler-errors:impossible-types, r=BoxyUwU
Do not expect infer/bound/placeholder/error in v0 symbol mangling

Infer/bound/placeholder/error are not encounterable during codegen. Let's make sure v0 symbol mangling doesn't "accidentally" handle them.

As for aliases (namely: projections and uv consts) these may still be encounterable because of the way that we render the def paths of items. Specifically, when we have something like:

```
struct W<T>(T);

impl<T> W<T> {
    fn x() {
        fn y() {}
    }
}
```

The path of `y` is rendered like `crate_name::W<T>::y`. Specifically, since `y` doesn't inherit the generics of the impl, we use the *identity* substitutions for that impl. If the impl has any aliases, they will remain unnormalized if they're rigid.

r? `@BoxyUwU`
2024-09-20 06:43:38 +02:00
..
rustc
rustc_abi get rid of an old hack 2024-09-17 00:09:21 +02:00
rustc_arena
rustc_ast Rollup merge of #130314 - compiler-errors:mac-prec, r=davidtwco 2024-09-17 17:28:33 +02:00
rustc_ast_ir
rustc_ast_lowering
rustc_ast_passes stabilize const_extern_fn 2024-09-14 18:07:06 +02:00
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #130294 - nnethercote:more-lifetimes, r=lcnr 2024-09-14 18:12:13 +02:00
rustc_builtin_macros
rustc_codegen_cranelift Use associative type defaults in {Layout,FnAbi}OfHelpers. 2024-09-17 10:25:06 +10:00
rustc_codegen_gcc Use associative type defaults in {Layout,FnAbi}OfHelpers. 2024-09-17 10:25:06 +10:00
rustc_codegen_llvm Update the minimum external LLVM to 18 2024-09-18 13:53:31 -07:00
rustc_codegen_ssa Rollup merge of #130457 - nnethercote:cleanup-codegen-traits, r=bjorn3 2024-09-18 17:49:43 +02:00
rustc_const_eval layout computation: eagerly error for unexpected unsized fields 2024-09-16 15:53:21 +02:00
rustc_data_structures
rustc_driver
rustc_driver_impl Rollup merge of #129988 - arnaudgolfouse:modify-locale_resources, r=davidtwco 2024-09-17 17:28:32 +02:00
rustc_error_codes Introduce distinct error codes for precise capturing 2024-09-16 10:56:22 -04:00
rustc_error_messages
rustc_errors Add suggestions for expressions in patterns 2024-09-18 20:38:43 +02:00
rustc_expand
rustc_feature Make link_cfg internal because it's in perme-unstable 2024-09-19 15:56:27 +02:00
rustc_fluent_macro fluent_macro: fix diagnostics for fluent parse failures 2024-09-17 14:49:33 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir doc: the source of LetStmt can also be AssignDesugar 2024-09-18 15:27:04 +02:00
rustc_hir_analysis Explicitly mark a hack as a HACK and elaborate its comment 2024-09-18 19:36:44 +02:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #129073 - compiler-errors:receiver-variance, r=lcnr 2024-09-17 12:44:08 +00:00
rustc_incremental
rustc_index assert that unexpectedly unsized fields are sized in the param env 2024-09-17 00:06:56 +02:00
rustc_index_macros
rustc_infer
rustc_interface Rollup merge of #129988 - arnaudgolfouse:modify-locale_resources, r=davidtwco 2024-09-17 17:28:32 +02:00
rustc_lexer
rustc_lint Rollup merge of #130507 - Urgau:check-cfg-raw-keywords, r=jieyouxu 2024-09-18 17:49:44 +02:00
rustc_lint_defs Rollup merge of #130353 - Zalathar:lint-zero, r=jieyouxu 2024-09-15 12:14:57 +10:00
rustc_llvm Update the minimum external LLVM to 18 2024-09-18 13:53:31 -07:00
rustc_log
rustc_macros
rustc_metadata Encode coroutine_by_move_body_def_id in crate metadata 2024-09-16 19:59:04 -04:00
rustc_middle Rollup merge of #130457 - nnethercote:cleanup-codegen-traits, r=bjorn3 2024-09-18 17:49:43 +02:00
rustc_mir_build Rollup merge of #130533 - compiler-errors:never-pat-unsafeck, r=Nadrieril 2024-09-18 23:40:30 -07:00
rustc_mir_dataflow Rollup merge of #130294 - nnethercote:more-lifetimes, r=lcnr 2024-09-14 18:12:13 +02:00
rustc_mir_transform Rollup merge of #130201 - compiler-errors:foreign-synthetic-body, r=lcnr 2024-09-17 17:28:32 +02:00
rustc_monomorphize
rustc_next_trait_solver
rustc_parse Add suggestions for expressions in patterns 2024-09-18 20:38:43 +02:00
rustc_parse_format
rustc_passes Rollup merge of #129422 - compiler-errors:repr-rust, r=fmease 2024-09-18 14:32:24 -07:00
rustc_pattern_analysis
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Rollup merge of #130116 - veera-sivarajan:freeze-suggestions, r=chenyukang 2024-09-18 04:42:31 +02:00
rustc_sanitizers
rustc_serialize
rustc_session Rollup merge of #128961 - GKFX:issue-128930-explain-missing-option, r=jieyouxu 2024-09-17 17:28:31 +02:00
rustc_smir
rustc_span [Clippy] Swap open_options to use diagnostic items instead of paths 2024-09-19 13:13:43 +01:00
rustc_symbol_mangling Rollup merge of #130485 - compiler-errors:impossible-types, r=BoxyUwU 2024-09-20 06:43:38 +02:00
rustc_target Support 128-bit atomics on s390x 2024-09-19 20:26:43 +09:00
rustc_trait_selection skip normalizing param env if it is already normalized 2024-09-19 15:56:24 +02:00
rustc_traits
rustc_transmute layout computation: eagerly error for unexpected unsized fields 2024-09-16 15:53:21 +02:00
rustc_ty_utils get rid of an old hack 2024-09-17 00:09:21 +02:00
rustc_type_ir Rollup merge of #130311 - heiseish:issue-70849-fix, r=fmease 2024-09-14 20:22:41 +10:00
rustc_type_ir_macros
stable_mir