File tree 1 file changed +4
-4
lines changed
compiler/rustc_mir/src/transform
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -297,10 +297,10 @@ impl std::ops::Deref for Validator<'a, 'tcx> {
297
297
struct Unpromotable ;
298
298
299
299
impl < ' tcx > Validator < ' _ , ' tcx > {
300
- //! Determines if this code could be executed at runtime and thus is subject to codegen.
301
- //! That means even unused constants need to be evaluated.
302
- //!
303
- //! `const_kind` should not be used in this file other than through this method!
300
+ /// Determines if this code could be executed at runtime and thus is subject to codegen.
301
+ /// That means even unused constants need to be evaluated.
302
+ ///
303
+ /// `const_kind` should not be used in this file other than through this method!
304
304
fn maybe_runtime ( & self ) -> bool {
305
305
match self . const_kind {
306
306
None | Some ( hir:: ConstContext :: ConstFn ) => true ,
You can’t perform that action at this time.
0 commit comments