-
Notifications
You must be signed in to change notification settings - Fork 745
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
Bump quote to 0.4 #1235
Conversation
6aca332
to
d3b86a5
Compare
@@ -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"), |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@bors-servo r+ |
📌 Commit 6899c27 has been approved by |
☀️ Test successful - status-travis |
No description provided.