d7d6238b23
This is consistent with all other diagnostics I could find containing features and enables the use of `DiagSymbolList` for generalizing diagnostics for unstable library features to multiple features.
10 lines
288 B
Rust
10 lines
288 B
Rust
use std::marker::CoercePointee; //~ ERROR use of unstable library feature `derive_coerce_pointee`
|
|
|
|
#[derive(CoercePointee)] //~ ERROR use of unstable library feature `derive_coerce_pointee`
|
|
#[repr(transparent)]
|
|
struct MyPointer<'a, #[pointee] T: ?Sized> {
|
|
ptr: &'a T,
|
|
}
|
|
|
|
fn main() {}
|