diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2019-01-05 16:19:34 +0200 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2019-01-13 19:44:28 +0200 |
| commit | de6566ce391478c5c483fed98eaf6e3c37f4dab9 (patch) | |
| tree | 0a401fb9ef5134515175d136f7c38d8386480f7d /src/test/ui/thinlto | |
| parent | 1c561d9b55aabc7df484f8faba24430421aee998 (diff) | |
| download | rust-de6566ce391478c5c483fed98eaf6e3c37f4dab9.tar.gz rust-de6566ce391478c5c483fed98eaf6e3c37f4dab9.zip | |
forbid manually impl'ing one of an object type's marker traits
This shouldn't break compatibility for crates that do not use `feature(optin_builtin_traits)`, because as the test shows, it is only possible to impl a marker trait for a trait object in the crate the marker trait is defined in, which must define `feature(optin_builtin_traits)`. Fixes #56934
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
