]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #35364 - kc1212:e0379, r=jonathandturner
authorEduard-Mihai Burtescu <edy.burt@gmail.com>
Sat, 6 Aug 2016 12:01:21 +0000 (15:01 +0300)
committerGitHub <noreply@github.com>
Sat, 6 Aug 2016 12:01:21 +0000 (15:01 +0300)
Update E0379 to new format #35338

Fixes #35338, as part of #35233.

But this does not include the bonus. From my understanding a Span is defined by a `hi` and a `lo` position within some context. A naive way would be to mutate the span so that `hi` is 5 positions from `lo` which corresponds to the `const` keyword. But this methods feels a bit rigid. Is there another way to do this?

r? @jonathandturner

1  2 
src/librustc_typeck/check/mod.rs

Simple merge