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.
1 parent 23d77ab commit c5ca630Copy full SHA for c5ca630
src/query.md
@@ -136,7 +136,7 @@ Each of these provider structs is generated by the macros and contains function
136
137
#### How are providers registered?
138
139
-The provider structs are filled in during compiler initialization, mainly by the `rustc_driver` crate.
+The `util::Provider` struct is filled in during compiler initialization, by the `rustc_interface` crate from the `DEFAULT_QUERY_PROVIDERS` static.
140
But the actual provider functions are implemented in various `rustc_*` crates (like `rustc_middle`, `rustc_hir_analysis`, etc).
141
142
To register providers, each crate exposes a [`provide`][provide_fn] function that looks like this:
0 commit comments