We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fdf7d1 + 688c857 commit 014a4eeCopy full SHA for 014a4ee
compiler/rustc_middle/src/ty/query/mod.rs
@@ -217,8 +217,11 @@ macro_rules! define_callbacks {
217
fn default() -> Self {
218
Providers {
219
$($name: |_, key| bug!(
220
- "`tcx.{}({:?})` unsupported by its crate",
221
- stringify!($name), key
+ "`tcx.{}({:?})` unsupported by its crate; \
+ perhaps the `{}` query was never assigned a provider function",
222
+ stringify!($name),
223
+ key,
224
225
),)*
226
}
227
0 commit comments