| error: `#[pin_v2]` attribute cannot be used on macro calls |
| --> $DIR/pin_v2-attr.rs:135:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters |
| --> $DIR/pin_v2-attr.rs:84:12 |
| | |
| LL | fn f<T, U>(#[pin_v2] param: Foo<T, U>) |
| | ^^^^^^^^^ |
| |
| error: `#[pin_v2]` attribute cannot be used on crates |
| --> $DIR/pin_v2-attr.rs:10:1 |
| | |
| LL | #![pin_v2] |
| | ^^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on function params |
| --> $DIR/pin_v2-attr.rs:27:10 |
| | |
| LL | enum Foo<#[pin_v2] T, #[pin_v2] U = ()> { |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on function params |
| --> $DIR/pin_v2-attr.rs:27:23 |
| | |
| LL | enum Foo<#[pin_v2] T, #[pin_v2] U = ()> { |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on enum variants |
| --> $DIR/pin_v2-attr.rs:30:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on struct fields |
| --> $DIR/pin_v2-attr.rs:32:18 |
| | |
| LL | TupleVariant(#[pin_v2] T), |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on struct fields |
| --> $DIR/pin_v2-attr.rs:34:9 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on traits |
| --> $DIR/pin_v2-attr.rs:39:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on associated consts |
| --> $DIR/pin_v2-attr.rs:41:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on associated types |
| --> $DIR/pin_v2-attr.rs:43:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on required trait methods |
| --> $DIR/pin_v2-attr.rs:46:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on provided trait methods |
| --> $DIR/pin_v2-attr.rs:48:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on trait aliases |
| --> $DIR/pin_v2-attr.rs:52:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on inherent impl blocks |
| --> $DIR/pin_v2-attr.rs:55:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on delegations |
| --> $DIR/pin_v2-attr.rs:58:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on inherent methods |
| --> $DIR/pin_v2-attr.rs:61:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on trait impl blocks |
| --> $DIR/pin_v2-attr.rs:65:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on trait methods in impl blocks |
| --> $DIR/pin_v2-attr.rs:67:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on extern crates |
| --> $DIR/pin_v2-attr.rs:71:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on use statements |
| --> $DIR/pin_v2-attr.rs:74:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on statics |
| --> $DIR/pin_v2-attr.rs:77:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on constants |
| --> $DIR/pin_v2-attr.rs:80:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on functions |
| --> $DIR/pin_v2-attr.rs:83:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on function params |
| --> $DIR/pin_v2-attr.rs:84:12 |
| | |
| LL | fn f<T, U>(#[pin_v2] param: Foo<T, U>) |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on closures |
| --> $DIR/pin_v2-attr.rs:92:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on expressions |
| --> $DIR/pin_v2-attr.rs:94:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on struct fields |
| --> $DIR/pin_v2-attr.rs:98:9 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on statements |
| --> $DIR/pin_v2-attr.rs:96:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on match arms |
| --> $DIR/pin_v2-attr.rs:102:9 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on pattern fields |
| --> $DIR/pin_v2-attr.rs:106:13 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on where predicates |
| --> $DIR/pin_v2-attr.rs:88:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on modules |
| --> $DIR/pin_v2-attr.rs:112:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on foreign modules |
| --> $DIR/pin_v2-attr.rs:115:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on foreign types |
| --> $DIR/pin_v2-attr.rs:117:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on foreign statics |
| --> $DIR/pin_v2-attr.rs:120:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on foreign functions |
| --> $DIR/pin_v2-attr.rs:123:5 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on type aliases |
| --> $DIR/pin_v2-attr.rs:127:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: `#[pin_v2]` attribute cannot be used on macro defs |
| --> $DIR/pin_v2-attr.rs:130:1 |
| | |
| LL | #[pin_v2] |
| | ^^^^^^^^^ |
| | |
| = help: `#[pin_v2]` can be applied to data types and unions |
| |
| error: aborting due to 39 previous errors |
| |