error: compilation successful --> $DIR/issue-26614.rs:24:1 | LL | / fn main() { //~ ERROR compilation successful LL | | let c: ::It = 5; LL | | const CCCC: ::It = 5; LL | | } | |_^ error: aborting due to previous error