in which the must-use additional messaging is tucked into a note#50437
Conversation
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
estebank
left a comment
There was a problem hiding this comment.
Great improvement! I wonder if it would be reasonable to unify src/test/compile-fail/unused-result.rs and src/test/ui/fn_must_use.stderr...
There was a problem hiding this comment.
Why is this being removed?
There was a problem hiding this comment.
Instead of removing, this can be
foo::<MustUseMsg>(); //~ ERROR: unused `MustUseMsg` which must be used
//~^ NOTE: some message
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Also, a comment is edited to reflect that spaces around the equals-sign in attributes is the standard (q.v. rust-lang/style-team@bea80532e7).
|
@bors r+ rollup |
|
📌 Commit 5a5a25c has been approved by |
in which the must-use additional messaging is tucked into a note _I_ think it looks better this way! What do _you_ think??  r? @estebank
|
☀️ Test successful - status-appveyor, status-travis |
I think it looks better this way! What do you think??
r? @estebank