mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
change diagnostic code on CreateNotPossible
This commit is contained in:
@ -111,7 +111,7 @@ pub enum ShellError {
|
||||
MoveNotPossibleSingle(String, #[label("{0}")] Span),
|
||||
|
||||
#[error("Create not possible")]
|
||||
#[diagnostic(code(nu::shell::move_not_possible_single), url(docsrs))]
|
||||
#[diagnostic(code(nu::shell::create_not_possible), url(docsrs))]
|
||||
CreateNotPossible(String, #[label("{0}")] Span),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user