mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
9 lines
244 B
Rust
9 lines
244 B
Rust
// Test that `#[rustc_on_unimplemented]` is gated by `rustc_attrs` feature gate.
|
|
|
|
#[rustc_on_unimplemented = "test error `{Self}` with `{Bar}`"]
|
|
//~^ ERROR this is an internal attribute that will never be stable
|
|
trait Foo<Bar>
|
|
{}
|
|
|
|
fn main() {}
|