Don't ICE when encountering unresolved regions in fully_resolve

This commit is contained in:
Michael Goulet 2023-10-12 14:00:00 +00:00
parent e1aa9edde0
commit ea73f10867
4 changed files with 48 additions and 8 deletions

View file

@ -58,7 +58,6 @@ declare_lint! {
///
///
/// ```rust
/// # #![feature(return_position_impl_trait_in_trait)]
/// use core::future::Future;
/// pub trait Trait {
/// fn method(&self) -> impl Future<Output = ()> + Send { async {} }