Files
rust/tests/ui/specialization
Jonathan Brouwer b3209f1830 Rollup merge of #160520 - jackh726:specialization-tests, r=nikomatsakis
Add some tests for specialization

cc rust-lang/rust#31844 (specialization tracking issue)

Closes rust-lang/rust#32483 (fixed)
Closes rust-lang/rust#48515 (fixed)
Closes rust-lang/rust#52396 (fixed)
Closes rust-lang/rust#74809 (fixed)
Closes rust-lang/rust#77026 (fixed)
Closes rust-lang/rust#80700 (fixed)
Closes rust-lang/rust#126268 (dupe of rust-lang/rust#102252)

cc. rust-lang/rust#50318 (known-bug)
cc. rust-lang/rust#36262 (known-bug, fixed-by-next-solver)
cc. rust-lang/rust#125014 (known-bug, fixed-by-next-solver)

r? nikomatsakis

Disclosure: These issues are from Github, but I used an LLM to help copy them over. I reviewed all tests.
2026-08-05 13:36:17 +02:00
..
2026-06-11 06:31:12 +05:30
2026-03-30 20:39:42 +00:00
…

This directory contains the test for incorrect usage of specialization that should lead to compile failure. Those tests break down into a few categories: