mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 16:41:41 +02:00
Add ShellWarning
(#16147)
# Description Adds a proper `ShellWarning` enum which has the same functionality as `ParseWarning`. Also moves the deprecation from #15806 into `ShellWarning::Deprecated` with `ReportMode::FirstUse`, so that warning will only pop up once now. # User-Facing Changes Technically the change to the deprecation warning from #15806 is user facing but it's really not worth listing in the changelog
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
pub use crate::CallExt;
|
||||
pub use nu_protocol::{
|
||||
ByteStream, ByteStreamType, Category, ErrSpan, Example, IntoInterruptiblePipelineData,
|
||||
IntoPipelineData, IntoSpanned, IntoValue, PipelineData, Record, ShellError, Signature, Span,
|
||||
Spanned, SyntaxShape, Type, Value,
|
||||
IntoPipelineData, IntoSpanned, IntoValue, PipelineData, Record, ShellError, ShellWarning,
|
||||
Signature, Span, Spanned, SyntaxShape, Type, Value,
|
||||
ast::CellPath,
|
||||
engine::{Call, Command, EngineState, Stack, StateWorkingSet},
|
||||
record,
|
||||
|
Reference in New Issue
Block a user