Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upconst fn calling non-const fn #399
Comments
This comment has been minimized.
This comment has been minimized.
|
The compiler catches you when a |
llogiq
closed this
Oct 19, 2015
This comment has been minimized.
This comment has been minimized.
|
Cool. I should have tested this before opening the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
llogiq commentedOct 19, 2015
This came up in a rust-users discussion.
Basically if we have a
constfunction calling a non-constfunction, theconstdeclaration is worthless.