mirror of
https://github.com/nushell/nushell.git
synced 2024-12-17 20:51:57 +01:00
change diagnostic code on CreateNotPossible
This commit is contained in:
parent
adabc839bf
commit
e8e1ead99d
@ -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),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user