rust/compiler
Yuki Okushi 12b124283c
Rollup merge of #106521 - oskgo:remove-E0280, r=jackh726
remove E0280

After looking at #61137 I tried my hand at E0280. I'm unable to find a reasonable example that emits the error. There are a couple of old examples that compile with the current compiler ([#26217](https://github.com/rust-lang/rust/issues/26217), [#42114](https://github.com/rust-lang/rust/issues/42114), [#27113](https://github.com/rust-lang/rust/issues/27113)) and there is a [bug with chalk](b7cdb635c4/src/test/ui/chalkify/bugs/async.rs) that makes it emit the error, with a couple more chalk bugs on zulip.

It seems like the error is supposed to be emitted from unfulfilled where bounds, of which two are related to borrow checking (error in where T: 'a or where 'a: 'b) and thus tend to emit errors like "lifetime may not live long enough" from borrow checking instead. The final case is with type equality constraints (where <T as Iterator>::Item == u32), which is unimplemented ([#20041](https://github.com/rust-lang/rust/issues/20041)). That such different problems are supposed to have the same error code also seems strange to me.

Since the error seems to only be emitted when using chalk I propose to remove it and replace it with an ICE instead. A crater run might be warranted.

Pinging `@jackh726` due to removal of chalk test that now ICEs.
2023-01-11 14:18:53 +09:00
..
rustc
rustc_abi Auto merge of #105446 - erikdesjardins:vt-size, r=nikic 2022-12-18 22:01:39 +00:00
rustc_apfloat compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_arena compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_ast Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_ast_lowering Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_ast_passes Allow impl ~const Trait opaque types 2022-12-15 11:26:15 +00:00
rustc_ast_pretty Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_attr Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_baked_icu_data Update crate documentation of rustc_baked_icu_data crate 2022-11-18 14:46:36 -08:00
rustc_borrowck Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk 2023-01-10 08:05:34 +09:00
rustc_builtin_macros Update format.rs 2023-01-02 15:51:54 +05:30
rustc_codegen_cranelift Auto merge of #105613 - Nilstrieb:rename-assert_uninit_valid, r=RalfJung 2022-12-21 23:20:04 +00:00
rustc_codegen_gcc Simplify some iterator combinators 2023-01-04 00:48:07 +00:00
rustc_codegen_llvm Rollup merge of #104543 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt3, r=davidtwco 2023-01-07 20:43:19 +01:00
rustc_codegen_ssa Add comment to cleanup_kinds 2023-01-10 09:53:18 +01:00
rustc_const_eval Assert defining anchor is set in take_opaque_types 2023-01-09 18:14:28 +00:00
rustc_data_structures Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_driver Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_error_codes remove E0280 and ICE instead 2023-01-10 03:04:28 +01:00
rustc_error_messages Mention signature rather than fn pointers when comparing impl/trait methods 2023-01-08 03:49:24 +00:00
rustc_errors Rollup merge of #104543 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt3, r=davidtwco 2023-01-07 20:43:19 +01:00
rustc_expand Shrink ParseResult in the hot path. 2023-01-05 20:42:26 +01:00
rustc_feature Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_fs_util Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_graphviz Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir_analysis Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk 2023-01-10 08:05:34 +09:00
rustc_hir_pretty Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir_typeck Auto merge of #106607 - compiler-errors:be-more-accurate-abt-method-suggestions, r=oli-obk 2023-01-10 06:22:01 +00:00
rustc_incremental rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_index Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_infer Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk 2023-01-10 08:05:34 +09:00
rustc_interface Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_lexer Recover fn keyword as Fn trait in bounds 2022-12-27 06:14:46 +00:00
rustc_lint Rollup merge of #106403 - compiler-errors:rename-hir-methods, r=cjgillot 2023-01-04 20:36:28 -08:00
rustc_lint_defs fix some typos 2022-12-25 00:43:50 +01:00
rustc_llvm Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_log Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_macros Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_metadata Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_middle Auto merge of #106637 - fee1-dead-contrib:rollup-ticvmsd, r=fee1-dead 2023-01-09 18:20:00 +00:00
rustc_mir_build Rollup merge of #106403 - compiler-errors:rename-hir-methods, r=cjgillot 2023-01-04 20:36:28 -08:00
rustc_mir_dataflow Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_mir_transform Auto merge of #106340 - saethlin:propagate-operands, r=oli-obk 2023-01-09 11:59:51 +00:00
rustc_monomorphize Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_parse Do not emit structured suggestion for turbofish with wrong span 2023-01-08 22:27:13 +00:00
rustc_parse_format Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_passes Rename Rptr to Ref in AST and HIR 2022-12-28 18:52:36 +01:00
rustc_plugin_impl Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_privacy Auto merge of #106235 - compiler-errors:rework-bounds-collection, r=davidtwco 2023-01-08 14:40:52 +00:00
rustc_query_impl Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_query_system Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_resolve Rollup merge of #106175 - compiler-errors:bad-import-sugg, r=oli-obk 2023-01-10 08:05:34 +09:00
rustc_save_analysis rename get_parent_node to parent_id 2023-01-04 00:43:13 +00:00
rustc_serialize compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_session Rollup merge of #106542 - sigaloid:master, r=bjorn3 2023-01-06 21:26:12 +01:00
rustc_smir
rustc_span Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_symbol_mangling Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
rustc_target Rollup merge of #106636 - djkoloski:accept_old_fuchsia_triple, r=tmandry 2023-01-10 08:05:35 +09:00
rustc_trait_selection Rollup merge of #106521 - oskgo:remove-E0280, r=jackh726 2023-01-11 14:18:53 +09:00
rustc_traits Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk 2023-01-10 08:05:34 +09:00
rustc_transmute Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_ty_utils Don't store spans in assumed_wf_types actually 2023-01-08 19:38:17 +00:00
rustc_type_ir Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00