rust/tests/ui/rfc-2632-const-trait-impl/attr-misuse.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
294 B
Plaintext
Raw Normal View History

error: attribute should be applied to a trait
--> $DIR/attr-misuse.rs:9:1
2021-07-10 07:58:16 +00:00
|
LL | #[const_trait]
| ^^^^^^^^^^^^^^
2021-07-10 07:58:16 +00:00
error: attribute should be applied to a trait
2021-07-16 03:54:00 +00:00
--> $DIR/attr-misuse.rs:5:5
2021-07-10 07:58:16 +00:00
|
LL | #[const_trait]
| ^^^^^^^^^^^^^^
2021-07-10 07:58:16 +00:00
error: aborting due to 2 previous errors
2021-07-10 07:58:16 +00:00