]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #33340 - birkenfeld:issue-23716, r=Manishearth
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 3 May 2016 13:39:08 +0000 (19:09 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 3 May 2016 14:24:54 +0000 (19:54 +0530)
resolve: print location of static for "static in pattern" error

The implementation mirrors the one for "constant defined here" annotation used for constant patterns in the irrefutable-pattern case.

Fixes: #23716
1  2 
src/librustc_resolve/lib.rs

Simple merge