Skip to content

Add E0016 explanation #26393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

GuillaumeGomez
Copy link
Member

Part of #24407.
cc @michaelsproul

@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@@ -256,6 +256,21 @@ See [RFC 911] for more details on the design of `const fn`s.
[RFC 911]: https://github.com/rust-lang/rfcs/blob/master/text/0911-const-fn.md
"##,

E0016: r##"
Blocks in constants can only contains items (such as constant, function, etc...)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/can/may/
s/contains/contain/
s/function/function definition/

@brson
Copy link
Contributor

brson commented Jun 18, 2015

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 18, 2015

📌 Commit 48e92bd has been approved by brson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants