mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +00:00
change diagnostic code on CreateNotPossible
This commit is contained in:
parent
adabc839bf
commit
e8e1ead99d
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ pub enum ShellError {
|
||||||
MoveNotPossibleSingle(String, #[label("{0}")] Span),
|
MoveNotPossibleSingle(String, #[label("{0}")] Span),
|
||||||
|
|
||||||
#[error("Create not possible")]
|
#[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),
|
CreateNotPossible(String, #[label("{0}")] Span),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue