add diagnostic for dangling dyn

This commit is contained in:
bit-aloo 2025-03-02 19:41:39 +05:30
parent 9df88ff0f6
commit afe6e5ba0f
No known key found for this signature in database
GPG key ID: 02911B24FDAE81DA
3 changed files with 42 additions and 8 deletions

View file

@ -0,0 +1 @@
fn f(_: &dyn) {}