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.
LocalDefId
1 parent 07e05bb commit e03ee80Copy full SHA for e03ee80
src/query.md
@@ -168,7 +168,7 @@ Suppose you want to add a new query called `fubar`. You would:
168
169
1. Implement the provider function:
170
```rust,ignore
171
- fn fubar<'tcx>(tcx: TyCtxt<'tcx>, key: DefId) -> Fubar<'tcx> { ... }
+ fn fubar<'tcx>(tcx: TyCtxt<'tcx>, key: LocalDefId) -> Fubar<'tcx> { ... }
172
```
173
2. Register it in the `provide` function:
174
0 commit comments