about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-22 11:43:05 +0100
committerGitHub <noreply@github.com>2023-01-22 11:43:05 +0100
commitd022013eb74df8a6b915cd144c983ac533589a28 (patch)
tree42990e2d533c75b245e4b3d9f1e89eac6f9d7ba5 /tests/rustdoc-js-std/parser-errors.js
parent940d00f2f64a0d1e11a546c13bd02ae58d699417 (diff)
parent444cbcd729e4b55602fedcaef7fe902316d8ab49 (diff)
downloadrust-d022013eb74df8a6b915cd144c983ac533589a28.tar.gz
rust-d022013eb74df8a6b915cd144c983ac533589a28.zip
Rollup merge of #107102 - compiler-errors:new-solver-new-candidats-4, r=lcnr
Implement some more predicates in the new solver

Implement a few more goals. The subtype goal specifically is important, since it's required for this code to compile:

```
fn main() {
  let mut x = vec![];
  x.push(1i32);
}
```

(I think we emit a subtype goal here because of coercion).

Drive-by: Also implements `--compare-mode=next-solver` -- I've been using this locally a lot to find out what works and what doesn't. I'm also happy to split this out into another PR.

r? `@lcnr`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions