You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried enabling this feature so that I could supply a highlighter for a specific source code type in my library but currently miette does not build with only that flag enabled:
error[E0433]: failed to resolve: function `supports_hyperlinks` is not a crate or module
--> src\handler.rs:432:41
|
432 | supports_hyperlinks::on(supports_hyperlinks::Stream::Stderr)
| ^^^^^^^^^^^^^^^^^^^ function `supports_hyperlinks` is not a crate or module
error[E0433]: failed to resolve: use of undeclared crate or module `supports_color`
--> src\handler.rs:455:36
|
455 | supports_color::on(supports_color::Stream::Stderr).map(|color| color.has_16m)
| ^^^^^^^^^^^^^^ use of undeclared crate or module `supports_color`
error[E0433]: failed to resolve: function `supports_unicode` is not a crate or module
--> src\handler.rs:466:38
|
466 | supports_unicode::on(supports_unicode::Stream::Stderr)
| ^^^^^^^^^^^^^^^^ function `supports_unicode` is not a crate or module
error[E0433]: failed to resolve: use of undeclared crate or module `terminal_size`
--> src\handler.rs:421:17
|
421 | terminal_size::terminal_size().map(|size| size.0 .0 as usize)
| ^^^^^^^^^^^^^ use of undeclared crate or module `terminal_size`
error[E0433]: failed to resolve: function `supports_hyperlinks` is not a crate or module
--> src\handler.rs:432:17
|
432 | supports_hyperlinks::on(supports_hyperlinks::Stream::Stderr)
| ^^^^^^^^^^^^^^^^^^^ function `supports_hyperlinks` is not a crate or module
error[E0433]: failed to resolve: use of undeclared crate or module `supports_color`
--> src\handler.rs:455:17
|
455 | supports_color::on(supports_color::Stream::Stderr).map(|color| color.has_16m)
| ^^^^^^^^^^^^^^ use of undeclared crate or module `supports_color`
error[E0433]: failed to resolve: function `supports_unicode` is not a crate or module
--> src\handler.rs:466:17
|
466 | supports_unicode::on(supports_unicode::Stream::Stderr)
| ^^^^^^^^^^^^^^^^ function `supports_unicode` is not a crate or module
For more information about this error, try `rustc --explain E0433`.
error: could not compile `miette` (lib) due to 7 previous errors
The text was updated successfully, but these errors were encountered:
I tried enabling this feature so that I could supply a highlighter for a specific source code type in my library but currently
miette
does not build with only that flag enabled:The text was updated successfully, but these errors were encountered: