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

Validate inline attribute arguments #22490

Merged
merged 1 commit into from
Feb 23, 2015
Merged

Conversation

nagisa
Copy link
Member

@nagisa nagisa commented Feb 18, 2015

Possibly relevant issue: #2809

Currently #[inline()] is an alias for #[inline], not sure whether we want to do anything different here (warning maybe?).

@rust-highfive
Copy link
Collaborator

r? @nick29581

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

@alexcrichton
Copy link
Member

Perhaps #[inline()] could be an error for now? We could relax later of course. Otherwise r=me

@nagisa
Copy link
Member Author

nagisa commented Feb 19, 2015

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned nrc Feb 19, 2015
@alexcrichton
Copy link
Member

@bors: r+ 7dc750b

Thanks!

@alexcrichton
Copy link
Member

I took the liberty of adding Closes #2809 to the PR description so the issues gets closed when this gets merged.

@alexcrichton
Copy link
Member

Ah @nagisa pointed out on IRC that this only validates the contents of #[inline], not the locations of #[inline], so the issue is still valid.

@Manishearth
Copy link
Member

(needs rebase)

@nagisa
Copy link
Member Author

nagisa commented Feb 22, 2015

Rebased. Sigh… on old master. Rebasing take 2.

@Manishearth
Copy link
Member

@bors: r=alexcrichton nagisa@c9d0967

@bors
Copy link
Contributor

bors commented Feb 22, 2015

🙀 You have the wrong number! Please try again with c9d0967.

@Manishearth
Copy link
Member

@bors: r=alexcrichton c9d0967

oops, bad argument

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 23, 2015
@alexcrichton alexcrichton merged commit c9d0967 into rust-lang:master Feb 23, 2015
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.

6 participants