Skip to content

Bump quote to 0.4 #1235

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
Jan 23, 2018
Merged

Bump quote to 0.4 #1235

merged 1 commit into from
Jan 23, 2018

Conversation

Eijebong
Copy link
Contributor

No description provided.

@Eijebong Eijebong force-pushed the quote branch 2 times, most recently from 6aca332 to d3b86a5 Compare January 22, 2018 23:15
@@ -18,7 +17,7 @@ impl protocol_SomeProtocol for id {
}
unsafe fn protocolClassMethod() {
msg_send!(
objc::runtime::Class::get("SomeProtocol").expect("Couldn't find SomeProtocol"),
objc::runtime::Class::get("SomeProtocol").expect("Couldn\'t find SomeProtocol"),
Copy link
Member

Choose a reason for hiding this comment

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

Looks like there is too much escaping happening now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing I can do about it unfortunately (unless I missed something)

@@ -3290,7 +3286,7 @@ fn objc_method_codegen(
let class_name = class_name
.expect("Generating a class method without class name?")
.to_owned();
let expect_msg = format!("Couldn't find {}", class_name);
let expect_msg = proc_macro2::Literal::string(&format!("Couldn't find {}", class_name));
Copy link
Member

Choose a reason for hiding this comment

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

HUh, I guess proc_macro2 isn't smart about string escaping.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Maybe file a bug upstream?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Thanks!

@fitzgen
Copy link
Member

fitzgen commented Jan 23, 2018

@bors-servo r+

@bors-servo
Copy link

📌 Commit 6899c27 has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit 6899c27 with merge 56bbbb0...

bors-servo pushed a commit that referenced this pull request Jan 23, 2018
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing 56bbbb0 to master...

@bors-servo bors-servo merged commit 6899c27 into rust-lang:master Jan 23, 2018
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