about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-10-12 14:00:00 +0000
committerMichael Goulet <michael@errs.io>2023-10-18 20:39:29 +0000
commitea73f10867e104ec5bb0ef2e83c2e330adc16758 (patch)
tree43e98caef0595c7f0418ac2a5a6d2f6bb89de327 /compiler/rustc_lint/src
parente1aa9edde0f363fbc6ab4a50c85974306e56667e (diff)
downloadrust-ea73f10867e104ec5bb0ef2e83c2e330adc16758.tar.gz
rust-ea73f10867e104ec5bb0ef2e83c2e330adc16758.zip
Don't ICE when encountering unresolved regions in fully_resolve
Diffstat (limited to 'compiler/rustc_lint/src')
-rw-r--r--compiler/rustc_lint/src/async_fn_in_trait.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/async_fn_in_trait.rs b/compiler/rustc_lint/src/async_fn_in_trait.rs
index 2a49a003da1..51213647361 100644
--- a/compiler/rustc_lint/src/async_fn_in_trait.rs
+++ b/compiler/rustc_lint/src/async_fn_in_trait.rs
@@ -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 {} }