File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/rustc_mir/src/transform Expand file tree Collapse file tree 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> {
297297struct Unpromotable ;
298298
299299impl < ' 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!
304304 fn maybe_runtime ( & self ) -> bool {
305305 match self . const_kind {
306306 None | Some ( hir:: ConstContext :: ConstFn ) => true ,
You can’t perform that action at this time.
0 commit comments