]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35094 - mcarton:multispan, r=jonathandturner
authorManish Goregaokar <manishsmail@gmail.com>
Sat, 30 Jul 2016 08:14:47 +0000 (13:44 +0530)
committerGitHub <noreply@github.com>
Sat, 30 Jul 2016 08:14:47 +0000 (13:44 +0530)
commit6ea3ef7ac258c75f800ea919aaf74ad0bb4e93c3
treee85196d3360b3cec516a2b768a6e74979049f1ef
parente649a2535f150d02a8e87edd184b6412a3d9604a
parent6dc98cf099d1fc3209e1354144f2190c052c8a0b
Rollup merge of #35094 - mcarton:multispan, r=jonathandturner

Revert "Remove unused methods from MultiSpan"

This reverts commit f7019a4e2f80577d38ec35fcebd64d5970b15f78.

That commit removed the only way to make a suggestion with more than one substitute. That feature is not used directly by rustc but exists and is used by Clippy. Bring it back until we come up with a better solution (suggestions don't use span labels, so it would make sense for them to use their own type).
Rational there: https://github.com/Manishearth/rust-clippy/pull/1119.

r? @jonathandturner
Cc @Manishearth
src/libsyntax_pos/lib.rs