Consistently name min_const_fn
This commit is contained in:
parent
83b8a561a1
commit
3abc7272dc
@ -104,11 +104,11 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||||||
// err on the "safe" side and require min_const_fn.
|
// err on the "safe" side and require min_const_fn.
|
||||||
true
|
true
|
||||||
} else {
|
} else {
|
||||||
// Unstable functions need not conform to min const fn.
|
// Unstable functions need not conform to min_const_fn.
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Internal functions are forced to conform to min const fn.
|
// Internal functions are forced to conform to min_const_fn.
|
||||||
// Annotate the internal function with a const stability attribute if
|
// Annotate the internal function with a const stability attribute if
|
||||||
// you need to use unstable features.
|
// you need to use unstable features.
|
||||||
// Note: this is an arbitrary choice that does not affect stability or const
|
// Note: this is an arbitrary choice that does not affect stability or const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user