287187230b
Support an explicit annotation for marker traits From the tracking issue for rust-lang/rfcs#1268: > It seems obvious that we should make a `#[marker]` annotation. ~ https://github.com/rust-lang/rust/issues/29864#issuecomment-368959441 This PR allows you to put `#[marker]` on a trait, at which point: - [x] The trait must not have any items ~~All of the trait's items must have defaults~~ - [x] Any impl of the trait must be empty (not override any items) - [x] But impls of the trait are allowed to overlap r? @nikomatsakis |
||
---|---|---|
.. | ||
build.rs | ||
Cargo.toml | ||
creader.rs | ||
cstore_impl.rs | ||
cstore.rs | ||
decoder.rs | ||
diagnostics.rs | ||
dynamic_lib.rs | ||
encoder.rs | ||
foreign_modules.rs | ||
index_builder.rs | ||
index.rs | ||
isolated_encoder.rs | ||
lib.rs | ||
link_args.rs | ||
locator.rs | ||
native_libs.rs | ||
schema.rs |