]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #74270 - davidtwco:issue-74086-more-placeholder-type-error, r=estebank
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 14 Jul 2020 14:39:11 +0000 (07:39 -0700)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2020 14:39:11 +0000 (07:39 -0700)
commit1114f2231a186c712ca6fde5d7d2b8d9ae330769
tree47fcb34f8919723811fa63c413b46998fe966b94
parent6513578584e00f686dd222b1c4c0cd5c94c95602
parent5afbc5201c7bf82cadd69a1a0cea49cfe1e41172
Rollup merge of #74270 - davidtwco:issue-74086-more-placeholder-type-error, r=estebank

typeck: report placeholder type error w/out span

Fixes #74086.

This PR fixes a regression introduced in rust-lang/rust#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available.

r? @estebank