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.
1 parent c7471ad commit 8c83264Copy full SHA for 8c83264
src/librustc/ty/constness.rs
@@ -108,7 +108,9 @@ impl<'tcx> TyCtxt<'tcx> {
108
false
109
}
110
} else {
111
- // Unstable functions or internal functions need not conform to min const fn.
+ // Internal functions need not conform to min const fn unless used inside stable
112
+ // const fns. Annotate the internal function with a const stability attribute if
113
+ // you need this.
114
115
},
116
// Everything else needs to conform, because it would be callable from
0 commit comments