Auto merge of #97665 - c410-f3r:assert-compiler, r=oli-obk
[RFC 2011] Minimal initial implementation Tracking issue: #44838 Third step of #96496 Implementation has ~290 LOC with the bare minimum to be in a functional state. Currently only searches for binary operations to mimic what `assert_eq!` and `assert_ne!` already do. r? `@oli-obk`
This commit is contained in:
commit
ca983054e1
17 changed files with 669 additions and 42 deletions
|
@ -157,6 +157,7 @@ symbols! {
|
|||
C,
|
||||
CStr,
|
||||
CString,
|
||||
Capture,
|
||||
Center,
|
||||
Clone,
|
||||
Continue,
|
||||
|
@ -267,6 +268,8 @@ symbols! {
|
|||
ToOwned,
|
||||
ToString,
|
||||
Try,
|
||||
TryCaptureGeneric,
|
||||
TryCapturePrintable,
|
||||
TryFrom,
|
||||
TryInto,
|
||||
Ty,
|
||||
|
@ -276,6 +279,7 @@ symbols! {
|
|||
UnsafeArg,
|
||||
Vec,
|
||||
VecDeque,
|
||||
Wrapper,
|
||||
Yield,
|
||||
_DECLS,
|
||||
_Self,
|
||||
|
@ -358,6 +362,7 @@ symbols! {
|
|||
assert_receiver_is_total_eq,
|
||||
assert_uninit_valid,
|
||||
assert_zero_valid,
|
||||
asserting,
|
||||
associated_const_equality,
|
||||
associated_consts,
|
||||
associated_type_bounds,
|
||||
|
@ -1436,6 +1441,7 @@ symbols! {
|
|||
truncf32,
|
||||
truncf64,
|
||||
try_blocks,
|
||||
try_capture,
|
||||
try_from,
|
||||
try_into,
|
||||
try_trait_v2,
|
||||
|
@ -1498,6 +1504,7 @@ symbols! {
|
|||
unsized_tuple_coercion,
|
||||
unstable,
|
||||
untagged_unions,
|
||||
unused_imports,
|
||||
unused_qualifications,
|
||||
unwind,
|
||||
unwind_attributes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue