summary refs log tree commit diff
path: root/tests/ui/rfc-2632-const-trait-impl/function-pointer-does-not-require-const.rs
AgeCommit message (Collapse)AuthorLines
2023-03-28Move const trait bounds checks to MIR constckDeadbeef-0/+15
Fixes #109543. When checking paths in HIR typeck, we don't want to check for const predicates since all we want might just be a function pointer. Therefore we move this to MIR constck and check that bounds are met during MIR constck.