Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
on-unimplemented
/
feature-gate-on-unimplemented.rs
blob: 3cc50e3499a09c3f8f36dbfadb887343fe7b6e87 [
file
] [
log
] [
blame
]
// 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
()
{}