Skip to content
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

Syntax for turning off warnings is confusing #2768

Closed
brson opened this issue Jun 30, 2012 · 3 comments
Closed

Syntax for turning off warnings is confusing #2768

brson opened this issue Jun 30, 2012 · 3 comments
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Jun 30, 2012

This means turn off the 'old-vecs' warning:

#[warn(no_old_vecs)];

To me this says 'turn on the no-old-vecs warning'.

@catamorphism
Copy link
Contributor

I also find it confusing, for the same reason.

@Dretch
Copy link
Contributor

Dretch commented Jul 1, 2012

#[no_warn(old_vecs)] ?

@graydon
Copy link
Contributor

graydon commented Apr 24, 2013

this is now done with #[allow(...)], closing.

@graydon graydon closed this as completed Apr 24, 2013
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

4 participants