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 caea9b4 commit ae05ba2Copy full SHA for ae05ba2
const-generic-const-fn-bounds.md
@@ -87,7 +87,9 @@ The implementation of this RFC is (in contrast to some of its alternatives) most
87
changes around the syntax of the language (adding `const` modifiers in a few places)
88
and ensuring that lowering to HIR and MIR keeps track of that.
89
The miri engine already fully supports calling methods on generic
90
-bounds, there's just no way of declaring them.
+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.
93
94
# Drawbacks
95
[drawbacks]: #drawbacks
0 commit comments