Skip to content

Commit fce0d37

Browse files
committed
Add comment.
1 parent 5dfed41 commit fce0d37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_query_system/query/config.rs

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ use std::borrow::Cow;
2020
use std::fmt::Debug;
2121
use std::hash::Hash;
2222

23+
// The parameter `CTX` is required in librustc: implementations may need to access the `'tcx`
24+
// lifetime in `CTX = TyCtxt<'tcx>`.
2325
pub trait QueryConfig<CTX> {
2426
const NAME: &'static str;
2527
const CATEGORY: ProfileCategory;

0 commit comments

Comments
 (0)