@@ -2,7 +2,7 @@ error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
22 --> $DIR/not-an-allocator.rs:2:11
33 |
44LL | #[global_allocator]
5- | ------------------- in this procedural macro expansion
5+ | ------------------- in this macro attribute expansion
66LL | static A: usize = 0;
77 | ^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
88 |
@@ -12,7 +12,7 @@ error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
1212 --> $DIR/not-an-allocator.rs:2:11
1313 |
1414LL | #[global_allocator]
15- | ------------------- in this procedural macro expansion
15+ | ------------------- in this macro attribute expansion
1616LL | static A: usize = 0;
1717 | ^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
1818 |
@@ -23,7 +23,7 @@ error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
2323 --> $DIR/not-an-allocator.rs:2:11
2424 |
2525LL | #[global_allocator]
26- | ------------------- in this procedural macro expansion
26+ | ------------------- in this macro attribute expansion
2727LL | static A: usize = 0;
2828 | ^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
2929 |
@@ -34,7 +34,7 @@ error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
3434 --> $DIR/not-an-allocator.rs:2:11
3535 |
3636LL | #[global_allocator]
37- | ------------------- in this procedural macro expansion
37+ | ------------------- in this macro attribute expansion
3838LL | static A: usize = 0;
3939 | ^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
4040 |
0 commit comments