| error: expected non-macro attribute, found attribute macro `derive` |
| --> $DIR/unsupported_attribute.rs:27:7 |
| | |
| LL | #[derive(Clone)] T: Trait, |
| | ^^^^^^ not a non-macro attribute |
| |
| error: expected non-macro attribute, found attribute macro `derive` |
| --> $DIR/unsupported_attribute.rs:30:7 |
| | |
| LL | #[derive(Clone)] 'a: 'static, |
| | ^^^^^^ not a non-macro attribute |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:13:5 |
| | |
| LL | #[doc = "doc"] T: Trait, |
| | ^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:14:5 |
| | |
| LL | #[doc = "doc"] 'a: 'static, |
| | ^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: `#[ignore]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:15:5 |
| | |
| LL | #[ignore] T: Trait, |
| | ^^^^^^^^^ |
| | |
| = help: `#[ignore]` can only be applied to functions |
| |
| error: `#[ignore]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:16:5 |
| | |
| LL | #[ignore] 'a: 'static, |
| | ^^^^^^^^^ |
| | |
| = help: `#[ignore]` can only be applied to functions |
| |
| error: `#[should_panic]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:17:5 |
| | |
| LL | #[should_panic] T: Trait, |
| | ^^^^^^^^^^^^^^^ |
| | |
| = help: `#[should_panic]` can only be applied to functions |
| |
| error: `#[should_panic]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:18:5 |
| | |
| LL | #[should_panic] 'a: 'static, |
| | ^^^^^^^^^^^^^^^ |
| | |
| = help: `#[should_panic]` can only be applied to functions |
| |
| error: `#[macro_use]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:19:5 |
| | |
| LL | #[macro_use] T: Trait, |
| | ^^^^^^^^^^^^ |
| | |
| = help: `#[macro_use]` can be applied to crates, extern crates, and modules |
| |
| error: `#[macro_use]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:20:5 |
| | |
| LL | #[macro_use] 'a: 'static, |
| | ^^^^^^^^^^^^ |
| | |
| = help: `#[macro_use]` can be applied to crates, extern crates, and modules |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:21:5 |
| | |
| LL | #[allow(unused)] T: Trait, |
| | ^^^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:22:5 |
| | |
| LL | #[allow(unused)] 'a: 'static, |
| | ^^^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: `#[deprecated]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:23:5 |
| | |
| LL | #[deprecated] T: Trait, |
| | ^^^^^^^^^^^^^ |
| | |
| = help: `#[deprecated]` can be applied to associated consts, associated types, constants, crates, data types, enum variants, foreign statics, functions, inherent impl blocks, macro defs, modules, statics, struct fields, traits, type aliases, and use statements |
| |
| error: `#[deprecated]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:24:5 |
| | |
| LL | #[deprecated] 'a: 'static, |
| | ^^^^^^^^^^^^^ |
| | |
| = help: `#[deprecated]` can be applied to associated consts, associated types, constants, crates, data types, enum variants, foreign statics, functions, inherent impl blocks, macro defs, modules, statics, struct fields, traits, type aliases, and use statements |
| |
| error: `#[automatically_derived]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:25:5 |
| | |
| LL | #[automatically_derived] T: Trait, |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = help: `#[automatically_derived]` can only be applied to trait impl blocks |
| |
| error: `#[automatically_derived]` attribute cannot be used on where predicates |
| --> $DIR/unsupported_attribute.rs:26:5 |
| | |
| LL | #[automatically_derived] 'a: 'static, |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = help: `#[automatically_derived]` can only be applied to trait impl blocks |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:27:5 |
| | |
| LL | #[derive(Clone)] T: Trait, |
| | ^^^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:30:5 |
| | |
| LL | #[derive(Clone)] 'a: 'static, |
| | ^^^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:33:5 |
| | |
| LL | #[rustfmt::skip] T: Trait, |
| | ^^^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: most attributes are not supported in `where` clauses |
| --> $DIR/unsupported_attribute.rs:34:5 |
| | |
| LL | #[rustfmt::skip] 'a: 'static, |
| | ^^^^^^^^^^^^^^^^ |
| | |
| = help: only `#[cfg]` and `#[cfg_attr]` are supported |
| |
| error: aborting due to 20 previous errors |
| |