@@ -369,16 +369,16 @@ define_queries! { <'tcx>
369
369
-> Lrc <specialization_graph:: Graph >,
370
370
[ ] fn is_object_safe: ObjectSafety ( DefId ) -> bool ,
371
371
372
- // Get the ParameterEnvironment for a given item; this environment
373
- // will be in "user-facing" mode, meaning that it is suitabe for
374
- // type-checking etc, and it does not normalize specializable
375
- // associated types. This is almost always what you want,
376
- // unless you are doing MIR optimizations, in which case you
377
- // might want to use `reveal_all()` method to change modes.
372
+ /// Get the ParameterEnvironment for a given item; this environment
373
+ /// will be in "user-facing" mode, meaning that it is suitabe for
374
+ /// type-checking etc, and it does not normalize specializable
375
+ /// associated types. This is almost always what you want,
376
+ /// unless you are doing MIR optimizations, in which case you
377
+ /// might want to use `reveal_all()` method to change modes.
378
378
[ ] fn param_env: ParamEnv ( DefId ) -> ty:: ParamEnv <' tcx>,
379
379
380
- // Trait selection queries. These are best used by invoking `ty.moves_by_default()`,
381
- // `ty.is_copy()`, etc, since that will prune the environment where possible.
380
+ /// Trait selection queries. These are best used by invoking `ty.moves_by_default()`,
381
+ /// `ty.is_copy()`, etc, since that will prune the environment where possible.
382
382
[ ] fn is_copy_raw: is_copy_dep_node( ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool ,
383
383
[ ] fn is_sized_raw: is_sized_dep_node( ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool ,
384
384
[ ] fn is_freeze_raw: is_freeze_dep_node( ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool ,
0 commit comments