about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-15 12:42:06 +0100
committerGitHub <noreply@github.com>2019-01-15 12:42:06 +0100
commit5fa44c4b5a31b9de0f8306336109fa0913fccfe7 (patch)
treefb35f05cc91b2ede331335c9871ddc79d83406c0 /src/liballoc
parentc4b8735872c127f749c0642bc7b8c3a44a2cbb5d (diff)
parentd38a59f8b5ad8ddbed5294bb4755618d7c2802aa (diff)
downloadrust-5fa44c4b5a31b9de0f8306336109fa0913fccfe7.tar.gz
rust-5fa44c4b5a31b9de0f8306336109fa0913fccfe7.zip
Rollup merge of #57352 - arielb1:no-manual-markers, r=nikomatsakis
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.

r? @nikomatsakis
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions