mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Wrap missing provider message correctly
This commit is contained in:
@@ -328,8 +328,9 @@ fn default() -> Self {
|
||||
|
||||
Providers {
|
||||
$($name: |_, key| bug!(
|
||||
"`tcx.{}({:?})` is not supported for {} crate;\n
|
||||
hint: Queries can be either made to the local crate, or the external crate. This error means you tried to use it for one that's not supported.\n
|
||||
"`tcx.{}({:?})` is not supported for {} crate;\n\
|
||||
hint: Queries can be either made to the local crate, or the external crate. \
|
||||
This error means you tried to use it for one that's not supported.\n\
|
||||
If that's not the case, {} was likely never assigned to a provider function.\n",
|
||||
stringify!($name),
|
||||
key,
|
||||
|
||||
Reference in New Issue
Block a user