Skip to content

How to add to the Error context? #5318

Answered by epage
dimo414 asked this question in Q&A
Jan 19, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

See https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=d0f235722f06cf49c36c7c62816b59d1

At the moment, RichFormatter only supports ContextValue::StyledStrs for suggestions, see

if let Some(ContextValue::StyledStrs(suggestions)) = suggestions {

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dimo414
Comment options

@epage
Comment options

@dimo414
Comment options

@epage
Comment options

Answer selected by dimo414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants