File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ during compiler initialization. The macro system generates both structs,
78
78
which act as function tables for all query implementations, where each
79
79
field is a function pointer to the actual provider.
80
80
81
+ [ providers_struct ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/query/struct.Providers.html
82
+ [ extern_providers_struct ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/query/struct.ExternProviders.html
83
+
81
84
** Note:** Both the ` Providers ` and ` ExternProviders ` structs are generated by macros and act as function tables for all query implementations.
82
85
They are ** not** Rust traits, but plain structs with function pointer fields.
83
86
@@ -268,4 +271,5 @@ More discussion and issues:
268
271
[ "Red/Green" dependency tracking in compiler ] : https://github.com/rust-lang/rust/issues/42293
269
272
[ GitHub issue #42633 ] : https://github.com/rust-lang/rust/issues/42633
270
273
[ Incremental Compilation Beta ] : https://internals.rust-lang.org/t/incremental-compilation-beta/4721
271
- [ Incremental Compilation Announcement ] : https://blog.rust-lang.org/2016/09/08/incremental.html
274
+ [ Incremental Compilation Announcement ] : https://blog.rust-lang.org/2016/09/08/incremental.html
275
+
You can’t perform that action at this time.
0 commit comments