]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #82055 - JulianKnodt:ty_where_const, r=estebank
authorYuki Okushi <huyuumi.dev@gmail.com>
Thu, 18 Feb 2021 06:57:26 +0000 (15:57 +0900)
committerGitHub <noreply@github.com>
Thu, 18 Feb 2021 06:57:26 +0000 (15:57 +0900)
commit0c25d154bd5b48819f490ac4a630f28fcfe4d321
tree5cc6a63e1ef08bc6e594741efbfba6c0a60e2b5b
parentcbf666dbc1409f1afbe866ba03755e44dbd1927c
parentf52029553fa97153eb7f3fc724523cc1a61dfaba
Rollup merge of #82055 - JulianKnodt:ty_where_const, r=estebank

Add diagnostics for specific cases for const/type mismatch err

For now, this adds at least more information so better diagnostics can be emitted for const mismatch errors.

I'm not sure what exactly we want to emit, so I've left notes there temporarily, also to see if this is the right approach

r? ```@lcnr```
cc: ```@estebank```