We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
try_eval
1 parent 763aaef commit ef66bf0Copy full SHA for ef66bf0
src/librustc_middle/ty/consts/kind.rs
@@ -87,8 +87,8 @@ impl<'tcx> ConstKind<'tcx> {
87
88
#[inline]
89
/// Tries to evaluate the constant if it is `Unevaluated`. If that isn't possible or necessary
90
- // return None
91
- pub fn try_eval(
+ /// return `None`.
+ pub(super) fn try_eval(
92
self,
93
tcx: TyCtxt<'tcx>,
94
param_env: ParamEnv<'tcx>,
0 commit comments