Skip to content

Conversation

dmanescu
Copy link
Contributor

Fixes #11741
Added tests and removed xfail-fast from run-pass/simd-experimental which is now fixed (see #11738).

src/llvm Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Rebase fallout?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe so - how do I fix it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(Nevermind - git reset to the rescue!)

@alexcrichton
Copy link
Member

Nice catch! And while #11741 isn't officially on the 1.0 milestone it probably should be! This is a great bugfix for the real usage of stability attributes in the future.

Copy link
Member

Choose a reason for hiding this comment

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

Could you add a comment here explaining why it's calling this function? It seems odd in a get_item function it's calling something which is expecting a tuple_struct_def

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could call it get_tuple_struct_def_if_ctor(..) to (attempt to) indicate that it only gets the def if it's actually a tuple struct constructor.

Copy link
Member

Choose a reason for hiding this comment

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

I'd be down with that. Comments are still welcome too :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Of course (I didn't mean to imply that there shouldn't be a comment).

@alexcrichton
Copy link
Member

Just a minor comment for future readers, otherwise r=me (feel free to comment when updated)

@alexcrichton
Copy link
Member

The test failures aren't your fault, I'm trying to fix mac-64 and I'll retry this when I think I have a fix.

bors added a commit that referenced this pull request Feb 1, 2014
…lexcrichton

Fixes #11741
Added tests and removed xfail-fast from run-pass/simd-experimental which is now fixed (see #11738).
@bors bors closed this Feb 1, 2014
@bors bors merged commit bc8983a into rust-lang:master Feb 1, 2014
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.

Cross-crate stability attributes on tuple structs are ignored

5 participants