rust/tests/ui/rfcs
Matthias Krüger 5761c36c0a
Rollup merge of #120009 - Nadrieril:never_patterns_tyck, r=compiler-errors
never_patterns: typecheck never patterns

This checks that a `!` pattern is only used on an uninhabited type (modulo match ergonomics, i.e. `!` is allowed on `&Void`).

r? `@compiler-errors`
2024-01-19 19:27:02 +01:00
..
rfc-0000-never_patterns Split-off the passing tests to ensure they pass 2024-01-18 21:15:25 +01:00
rfc-0107-bind-by-move-pattern-guards
rfc-1014-stdout-existential-crisis
rfc-1445-restrict-constants-in-patterns Bless tests 2024-01-13 12:46:58 -05:00
rfc-1623-static
rfc-1717-dllimport
rfc-1789-as-cell
rfc-1857-stabilize-drop-order
rfc-1937-termination-trait
rfc-2005-default-binding-mode
rfc-2008-non-exhaustive
rfc-2027-object-safe-for-dispatch update use of feature flags 2023-12-14 15:22:37 +01:00
rfc-2091-track-caller
rfc-2093-infer-outlives
rfc-2126-crate-paths
rfc-2126-extern-absolute-paths
rfc-2151-raw-identifiers Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
rfc-2175-or-if-while-let
rfc-2294-if-let-guard Bless tests 2024-01-13 12:46:58 -05:00
rfc-2302-self-struct-ctor
rfc-2306-convert-id
rfc-2361-dbg-macro blessed 2023-12-12 18:12:57 +08:00
rfc-2396-target_feature-11 Bless tests 2024-01-13 12:46:58 -05:00
rfc-2397-do-not-recommend Bless tests 2024-01-13 12:46:58 -05:00
rfc-2421-unreserve-pure-offsetof-sizeof-alignof
rfc-2457-non-ascii-idents
rfc-2497-if-let-chains Bless tests 2024-01-13 12:46:58 -05:00
rfc-2528-type-changing-struct-update Bless tests 2024-01-13 12:46:58 -05:00
rfc-2565-param-attrs Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
rfc-2627-raw-dylib
rfc-2632-const-trait-impl Move check_mod_impl_wf query call out of track_errors and bubble errors up instead. 2024-01-17 10:02:19 +00:00
rfc-3348-c-string-literals Detect NulInCStr error earlier. 2024-01-12 16:19:37 +11:00