539813944d
When a const function is being evaluated, as long as all its arguments are zero-sized-types (or it has no arguments) then we can trivially memoize the evaluation result using the existing query mechanism. |
||
---|---|---|
.. | ||
infinite-autoderef.rs | ||
infinite-autoderef.stderr | ||
infinite-instantiation.rs | ||
infinite-instantiation.stderr | ||
infinite-macro-expansion.rs | ||
infinite-macro-expansion.stderr | ||
infinite-recursion-const-fn.rs | ||
infinite-recursion-const-fn.stderr | ||
infinite-tag-type-recursion.rs | ||
infinite-tag-type-recursion.stderr | ||
infinite-vec-type-recursion.rs | ||
infinite-vec-type-recursion.stderr |