]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #25267 - meqif:explain_e0317, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 12 May 2015 17:27:52 +0000 (22:57 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 12 May 2015 17:27:52 +0000 (22:57 +0530)
commitbb15c4762dc6eceb8e34a521e0e6ab627066f314
tree19084261ca0609eaa14918239affb369c4dd50a7
parente91d272fbb06a0d56f588ca9ee7a2fb256498aec
parentaa529ef52e54039fcfaa8aa7914be4c581179497
Rollup merge of #25267 - meqif:explain_e0317, r=alexcrichton

Add diagnostic message for E0317, E0154, E0259 and E0260; part of #24407.

About E0317, I was unsure if I should add an example of what could be wrong, such as `struct i64`, `enum char { A, B }` or `type isize = i64`. I decided against it, since the diagnostic message looks clear enough to me.

What do you think?