]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #90221 - JakobDegen:issue-90213, r=cjgillot
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 24 Oct 2021 13:48:45 +0000 (15:48 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Oct 2021 13:48:45 +0000 (15:48 +0200)
Fix ICE when forgetting to `Box` a parameter to a `Self::func` call

Closes #90213 .

Assuming we can get the `DefId` of the receiver causes an ICE if the receiver is `Self`. We can just avoid doing this though.


Trivial merge