rust/compiler
Matthias Krüger 6fca1a9259
Rollup merge of #110859 - compiler-errors:no-negative-drop-impls, r=oli-obk
Explicitly reject negative and reservation drop impls

Fixes #110858

It doesn't really make sense for a type to have a `!Drop` impl. Or at least, I don't want us to implicitly assign a meaning to it by the way the compiler *currently* handles it (incompletely), and rather I would like to see a PR (or an RFC...) assign a meaning to `!Drop` if we actually wanted one for it.
2023-05-04 08:09:03 +02:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast Implement negative bounds 2023-05-02 22:36:24 +00:00
rustc_ast_lowering Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obk 2023-05-04 00:17:23 +05:30
rustc_ast_passes Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obk 2023-05-04 00:17:23 +05:30
rustc_ast_pretty Implement negative bounds 2023-05-02 22:36:24 +00:00
rustc_attr Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_baked_icu_data Regen baked data 2023-05-02 10:45:16 -07:00
rustc_borrowck Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_builtin_macros Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_codegen_cranelift Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_codegen_gcc Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_codegen_llvm Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_codegen_ssa Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_const_eval Rollup merge of #110943 - RalfJung:interpret-unsized-arg-ice, r=oli-obk 2023-05-04 00:17:25 +05:30
rustc_data_structures
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages Rollup merge of #111104 - Manishearth:icuup, r=compiler-errors 2023-05-03 16:42:50 -07:00
rustc_errors Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_expand Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_feature Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_hir_analysis Rollup merge of #110859 - compiler-errors:no-negative-drop-impls, r=oli-obk 2023-05-04 08:09:03 +02:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #110874 - compiler-errors:index-op-specific, r=oli-obk 2023-05-04 00:17:24 +05:30
rustc_incremental
rustc_index
rustc_infer Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obk 2023-05-04 00:17:23 +05:30
rustc_interface Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_lexer
rustc_lint Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Rollup merge of #110908 - petrochenkov:notagain4, r=compiler-errors 2023-05-04 00:17:24 +05:30
rustc_middle Rollup merge of #110859 - compiler-errors:no-negative-drop-impls, r=oli-obk 2023-05-04 08:09:03 +02:00
rustc_mir_build Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_mir_dataflow
rustc_mir_transform Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_monomorphize Box AssertKind 2023-05-01 23:12:41 -04:00
rustc_parse Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obk 2023-05-04 00:17:23 +05:30
rustc_parse_format
rustc_passes Rollup merge of #111062 - clubby789:invalid-repr-unchecked, r=petrochenkov 2023-05-04 00:17:25 +05:30
rustc_plugin_impl
rustc_privacy resolve: One more attempt to simplify module_children 2023-05-02 17:21:08 +03:00
rustc_query_impl
rustc_query_system Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_resolve Rollup merge of #110908 - petrochenkov:notagain4, r=compiler-errors 2023-05-04 00:17:24 +05:30
rustc_serialize Remove MemEncoder. 2023-05-02 12:02:32 +10:00
rustc_session Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_smir
rustc_span Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_symbol_mangling Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3 2023-05-03 16:42:48 -07:00
rustc_target
rustc_trait_selection Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obk 2023-05-04 00:17:23 +05:30
rustc_traits Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_transmute
rustc_ty_utils Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
rustc_type_ir