nushell/crates/nu-cli/src
Eric Hodel 3e5f81ae14
Convert remainder of ShellError variants to named fields (#11276)
# Description

Removed variants that are no longer in use:
* `NoFile*`
* `UnexpectedAbbrComponent`

Converted:
* `OutsideSpannedLabeledError`
* `EvalBlockWithInput`
* `Break`
* `Continue`
* `Return`
* `NotAConstant`
* `NotAConstCommand`
* `NotAConstHelp`
* `InvalidGlobPattern`
* `ErrorExpandingGlob`

Fixes #10700 

# User-Facing Changes

None

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

N/A
2023-12-09 18:46:21 -06:00
..
commands Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
completions Fix spans passed to external_completer (#11008) 2023-11-29 23:17:06 +01:00
menus Improve case insensitivity consistency (#10884) 2023-11-08 23:58:54 +01:00
config_files.rs Fix config creation during printing (#9353) 2023-06-04 22:04:28 +03:00
eval_cmds.rs Refactor and fix Config<->Value mechanism (#10896) 2023-11-08 20:31:30 +01:00
eval_file.rs Convert remainder of ShellError variants to named fields (#11276) 2023-12-09 18:46:21 -06:00
lib.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
nu_highlight.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
print.rs allow print to take data as input again (#9823) 2023-07-27 21:40:25 +02:00
prompt_update.rs Use Vec for Closure captures (#10940) 2023-11-08 00:43:28 +01:00
prompt.rs Fix default prompt indicators (#9914) 2023-08-05 04:47:46 +12:00
reedline_config.rs Convert more ShellError variants to named fields (#11222) 2023-12-04 10:19:32 +01:00
repl.rs Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
syntax_highlight.rs Spread operator in record literals (#11144) 2023-11-29 18:31:31 +01:00
util.rs Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00