File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,11 @@ providers**. Almost all **extern providers** wind up going through the
155
155
[ ` rustc_metadata ` crate] [ rustc_metadata ] , which loads the information
156
156
from the crate metadata. But in some cases there are crates that
157
157
provide queries for * both* local and external crates, in which case
158
- they define both a [ ` provide ` ] [ ext_provide ] and a
159
- [ ` provide_extern ` ] [ ext_provide_extern ] function that ` rustc_driver `
160
- can invoke.
158
+ they define both a ` provide ` and a ` provide_extern ` function, through
159
+ [ ` provide_both ` ] [ ext_provide_both ] , that ` rustc_driver ` can invoke.
161
160
162
161
[ rustc_metadata ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/index.html
163
- [ ext_provide ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/attributes/fn.provide.html
164
- [ ext_provide_extern ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/attributes/fn.provide_extern.html
162
+ [ ext_provide_both ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/attributes/fn.provide_both.html
165
163
166
164
### Adding a new kind of query
167
165
You can’t perform that action at this time.
0 commit comments