# Poll: how much context to give for async error messages?

**URL:** <https://internals.rust-lang.org/t/poll-how-much-context-to-give-for-async-error-messages/11753>\
**Category:** compiler\
**Created:** [February 6, 2020, 4:30pm UTC](https://internals.rust-lang.org/t/poll-how-much-context-to-give-for-async-error-messages/11753 "2020-02-06T16:30:26Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Aaron1011](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/aaron1011/32/2246_2.png) [@Aaron1011](https://internals.rust-lang.org/u/Aaron1011)\
**Post date:** [February 6, 2020, 8:32pm UTC](https://internals.rust-lang.org/t/poll-how-much-context-to-give-for-async-error-messages/11753/10 "2020-02-06T20:32:07Z")

</div>

> [@nikomatsakis](#):
>
> More than a verbose flag, I'd be really excited if we had ways to "go beyond the command line" in terms of giving rich errors that can be expanded to get more context

This would be extremely useful, potentially for other types of errors as well. With 'plain' command-line errors, there's always a trade-off between displaying more context and overwhelming the user/displaying useless information.

> [@nikomatsakis](#):
>
> But maybe if there were a "note" that reminds you that you can use this flag to get the full details

I think it's very important that any such 'verbose' flag not require recompilation of the entire crate graph. For example, it would be extremely painful to try to use this flag when working on `librustc_driver` if it meant rebuilding (even with incr comp) the entire compiler.

---

_[View the full topic](https://internals.rust-lang.org/t/poll-how-much-context-to-give-for-async-error-messages/11753)._
