Skip to content

Commit d41f21f

Browse files
committed
Auto merge of #53460 - JoshBrudnak:master, r=estebank
Fix compile panic on non existent type return Reverted the change 28a76a9#diff-4ed25c00aceb84666fca639cf8101c7cL1069 which was panicking when returning a type that cannot be found in the current scope and added testing for the compile error. For example: ```rust fn addition() -> Wrapper<impl A> {} ``` Where Wrapper is undefined in the scope.
2 parents 727eabd + 264d0a2 commit d41f21f

File tree

3 files changed

+847
-612
lines changed

3 files changed

+847
-612
lines changed

0 commit comments

Comments
 (0)