Skip to content

compile-fail tests ignore pattern after the first : #207

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
espindola opened this issue Jan 25, 2011 · 0 comments
Closed

compile-fail tests ignore pattern after the first : #207

espindola opened this issue Jan 25, 2011 · 0 comments

Comments

@espindola
Copy link

I am adding a test to compile-fail that has

// error-pattern: unresolved name: a

to test the test I changed the line to

// error-pattern: unresolved name: x

and to my surprise the test passed

changing it to something like

// error-pattern: unresolved namex: a

correctly causes it to fail

oli-obk pushed a commit to oli-obk/rust that referenced this issue Jul 19, 2017
update xargo usage example for new location of vecs.rs
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this issue Mar 7, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Dec 6, 2024
This issue was closed.
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

No branches or pull requests

1 participant