summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-20 07:16:11 +0100
committerGitHub <noreply@github.com>2023-01-20 07:16:11 +0100
commit75655a92469f2b96219042770ade63fc21efd84f (patch)
tree9ba21918dbfc4dcdb6fa82bfdb4dc89ca4c4e2b8 /tests/rustdoc-js-std/parser-errors.js
parent66a9006759baa38acc17f5f028e9d13aa70338d5 (diff)
parent8657cb8efe934501f4ac316bbde0ac4daa1f0d0c (diff)
downloadrust-75655a92469f2b96219042770ade63fc21efd84f.tar.gz
Rollup merge of #107076 - megakorre:106419_add_test_case, r=compiler-errors
Added const-generic ui test case for issue #106419 This PR adds a test case for #106419 which has been fixed in master by #105292 I also ran the test on f769d34291e489db19d3c972348ddb24b6b32481 (the commit before #105292 was merged) and it did fail there with the following output. ``` --- stderr ------------------------------- error[E0308]: mismatched types --> /home/patrikk/src/rust/src/test/ui/const-generics/issue-106419-struct-with-multiple-const-params.rs:5:10 | LL | #[derive(Clone)] | ^^^^^ | | | expected `A`, found `B` | expected `Bar<A, B>` because of return type | = note: expected struct `Bar<A, _>` found struct `Bar<B, _>` = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error For more information about this error, try `rustc --explain E0308`. ------------------------------------------ ```
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions