Skip to content

syntax: Make codemap::get_filemap() return an Option #33839

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

Merged
merged 1 commit into from
May 27, 2016

Conversation

kamalmarhubi
Copy link
Contributor

This is more idiomatic, putting the caller in charge of whether or not
to panic.

This is more idiomatic, putting the caller in charge of whether or not
to panic.
@rust-highfive
Copy link
Contributor

r? @nikomatsakis

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

@kamalmarhubi
Copy link
Contributor Author

Admittedly, this is to allow more flexible use from syntex_syntax, but I still think thinks this change makes sense.

@nikomatsakis
Copy link
Contributor

Seems fine.

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented May 25, 2016

📌 Commit 3bef085 has been approved by nikomatsakis

@nikomatsakis
Copy link
Contributor

@bors r-

@nikomatsakis
Copy link
Contributor

That said, ironically, this is a [plugin-breaking-change].

cc @Manishearth

@kamalmarhubi
Copy link
Contributor Author

So small and yet... :-)

Manishearth added a commit to Manishearth/rust that referenced this pull request May 26, 2016
…ption, r=nmatsakis

 This is more idiomatic, putting the caller in charge of whether or not
to panic.
Manishearth added a commit to Manishearth/rust that referenced this pull request May 27, 2016
…ption, r=nmatsakis

 This is more idiomatic, putting the caller in charge of whether or not
to panic.
@bors bors merged commit 3bef085 into rust-lang:master May 27, 2016
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.

4 participants