about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/async_fn_in_trait.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-07-08 15:36:57 -0400
committerMichael Goulet <michael@errs.io>2024-07-08 16:04:47 -0400
commitfe4c995ccb292f5b8fdaba0bfc5f58c6ee8e7fed (patch)
tree58a814d933c61035f9b8d9961d749110b8bd0465 /compiler/rustc_lint/src/async_fn_in_trait.rs
parenta06e9c83f6bc6b9b69f1b0d9f1ab659f8f03db4d (diff)
downloadrust-fe4c995ccb292f5b8fdaba0bfc5f58c6ee8e7fed.tar.gz
rust-fe4c995ccb292f5b8fdaba0bfc5f58c6ee8e7fed.zip
Move trait selection error reporting to its own top-level module
Diffstat (limited to 'compiler/rustc_lint/src/async_fn_in_trait.rs')
-rw-r--r--compiler/rustc_lint/src/async_fn_in_trait.rs2
1 files changed, 1 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 40778542c75..6daee95dda6 100644
--- a/compiler/rustc_lint/src/async_fn_in_trait.rs
+++ b/compiler/rustc_lint/src/async_fn_in_trait.rs
@@ -3,7 +3,7 @@ use crate::LateContext;
 use crate::LateLintPass;
 use rustc_hir as hir;
 use rustc_session::{declare_lint, declare_lint_pass};
-use rustc_trait_selection::traits::error_reporting::suggestions::suggest_desugaring_async_fn_to_impl_future_in_trait;
+use rustc_trait_selection::error_reporting::traits::suggestions::suggest_desugaring_async_fn_to_impl_future_in_trait;
 
 declare_lint! {
     /// The `async_fn_in_trait` lint detects use of `async fn` in the