File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 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
155155[ ` rustc_metadata ` crate] [ rustc_metadata ] , which loads the information
156156from the crate metadata. But in some cases there are crates that
157157provide 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.
161160
162161[ 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
165163
166164### Adding a new kind of query
167165
You can’t perform that action at this time.
0 commit comments