Skip to content

Commit ae05ba2

Browse files
committed
Expand on implementation details a little
1 parent caea9b4 commit ae05ba2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

const-generic-const-fn-bounds.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ The implementation of this RFC is (in contrast to some of its alternatives) most
8787
changes around the syntax of the language (adding `const` modifiers in a few places)
8888
and ensuring that lowering to HIR and MIR keeps track of that.
8989
The miri engine already fully supports calling methods on generic
90-
bounds, there's just no way of declaring them.
90+
bounds, there's just no way of declaring them. Checking methods for constness is already implemented
91+
for inherent methods. The implementation will have to extend those checks to also run on methods
92+
of `const impl` items.
9193

9294
# Drawbacks
9395
[drawbacks]: #drawbacks

0 commit comments

Comments
 (0)