From 88378a0867c0741218560ce512429873cf43d78b Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Mon, 29 Apr 2024 09:25:03 +0200 Subject: [PATCH] Fix help message. --- .../src/compiler/analyses/user_components/resolved_paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pavexc/src/compiler/analyses/user_components/resolved_paths.rs b/libs/pavexc/src/compiler/analyses/user_components/resolved_paths.rs index 5e781e8b8..df98f7339 100644 --- a/libs/pavexc/src/compiler/analyses/user_components/resolved_paths.rs +++ b/libs/pavexc/src/compiler/analyses/user_components/resolved_paths.rs @@ -85,7 +85,7 @@ impl ResolvedPathDb { ParseError::PathMustBeAbsolute(_) => ( "The relative import path was registered here", Some( - "If it is a local import, the path must start with `crate::`.\n\ + "If it is a local import, the path must start with `crate::`, `self::` or `super::`.\n\ If it is an import from a dependency, the path must start with \ the dependency name (e.g. `dependency::`)." .to_string(),