diff --git a/tests/compile-fail/access_outside_visibility.stderr b/tests/compile-fail/access_outside_visibility.stderr index 3106b9a2..3b002cf6 100644 --- a/tests/compile-fail/access_outside_visibility.stderr +++ b/tests/compile-fail/access_outside_visibility.stderr @@ -15,4 +15,4 @@ note: the struct `Flags2` is defined here 11 | | } 12 | | } | |_____^ - = note: this error originates in the macro `__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/compile-fail/bitflags_redefined.stderr b/tests/compile-fail/bitflags_redefined.stderr index a1611a1c..fb2ae883 100644 --- a/tests/compile-fail/bitflags_redefined.stderr +++ b/tests/compile-fail/bitflags_redefined.stderr @@ -16,7 +16,7 @@ error[E0428]: the name `Flags1` is defined multiple times | |_- previous definition of the type `Flags1` here | = note: `Flags1` must be defined only once in the type namespace of this module - = note: this error originates in the macro `__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0601]: `main` function not found in crate `$CRATE` --> tests/compile-fail/bitflags_redefined.rs:14:2 @@ -41,7 +41,7 @@ error[E0119]: conflicting implementations of trait `Flags` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_consts` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_consts` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `PublicFlags` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -60,7 +60,7 @@ error[E0119]: conflicting implementations of trait `PublicFlags` for type `Flags 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_internal_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_internal_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `Binary` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -79,7 +79,7 @@ error[E0119]: conflicting implementations of trait `Binary` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `Octal` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -98,7 +98,7 @@ error[E0119]: conflicting implementations of trait `Octal` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `LowerHex` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -117,7 +117,7 @@ error[E0119]: conflicting implementations of trait `LowerHex` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `UpperHex` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -136,7 +136,7 @@ error[E0119]: conflicting implementations of trait `UpperHex` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `BitOr` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -155,7 +155,7 @@ error[E0119]: conflicting implementations of trait `BitOr` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `BitOrAssign` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -174,7 +174,7 @@ error[E0119]: conflicting implementations of trait `BitOrAssign` for type `Flags 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `BitXor` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -193,7 +193,7 @@ error[E0119]: conflicting implementations of trait `BitXor` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `BitXorAssign` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -212,7 +212,7 @@ error[E0119]: conflicting implementations of trait `BitXorAssign` for type `Flag 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `BitAnd` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -231,7 +231,7 @@ error[E0119]: conflicting implementations of trait `BitAnd` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `BitAndAssign` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -250,7 +250,7 @@ error[E0119]: conflicting implementations of trait `BitAndAssign` for type `Flag 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `Sub` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -269,7 +269,7 @@ error[E0119]: conflicting implementations of trait `Sub` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `SubAssign` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -288,7 +288,7 @@ error[E0119]: conflicting implementations of trait `SubAssign` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `Not` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -307,7 +307,7 @@ error[E0119]: conflicting implementations of trait `Not` for type `Flags1` 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `Extend` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -326,7 +326,7 @@ error[E0119]: conflicting implementations of trait `Extend` for type `Fl 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `FromIterator` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -345,7 +345,7 @@ error[E0119]: conflicting implementations of trait `FromIterator` for ty 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_ops` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0119]: conflicting implementations of trait `IntoIterator` for type `Flags1` --> tests/compile-fail/bitflags_redefined.rs:10:1 @@ -364,7 +364,7 @@ error[E0119]: conflicting implementations of trait `IntoIterator` for type `Flag 14 | | } | |_^ conflicting implementation for `Flags1` | - = note: this error originates in the macro `__impl_public_bitflags_iter` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_iter` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `A` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -383,7 +383,7 @@ error[E0592]: duplicate definitions with name `A` 14 | | } | |_- other definition for `A` | - = note: this error originates in the macro `__impl_public_bitflags_consts` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_consts` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `empty` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -402,7 +402,7 @@ error[E0592]: duplicate definitions with name `empty` 14 | | } | |_- other definition for `empty` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `all` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -421,7 +421,7 @@ error[E0592]: duplicate definitions with name `all` 14 | | } | |_- other definition for `all` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `bits` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -440,7 +440,7 @@ error[E0592]: duplicate definitions with name `bits` 14 | | } | |_- other definition for `bits` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `from_bits` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -459,7 +459,7 @@ error[E0592]: duplicate definitions with name `from_bits` 14 | | } | |_- other definition for `from_bits` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `from_bits_truncate` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -478,7 +478,7 @@ error[E0592]: duplicate definitions with name `from_bits_truncate` 14 | | } | |_- other definition for `from_bits_truncate` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `from_bits_retain` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -497,7 +497,7 @@ error[E0592]: duplicate definitions with name `from_bits_retain` 14 | | } | |_- other definition for `from_bits_retain` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `from_name` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -516,7 +516,7 @@ error[E0592]: duplicate definitions with name `from_name` 14 | | } | |_- other definition for `from_name` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `is_empty` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -535,7 +535,7 @@ error[E0592]: duplicate definitions with name `is_empty` 14 | | } | |_- other definition for `is_empty` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `is_all` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -554,7 +554,7 @@ error[E0592]: duplicate definitions with name `is_all` 14 | | } | |_- other definition for `is_all` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `intersects` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -573,7 +573,7 @@ error[E0592]: duplicate definitions with name `intersects` 14 | | } | |_- other definition for `intersects` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `contains` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -592,7 +592,7 @@ error[E0592]: duplicate definitions with name `contains` 14 | | } | |_- other definition for `contains` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `insert` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -611,7 +611,7 @@ error[E0592]: duplicate definitions with name `insert` 14 | | } | |_- other definition for `insert` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `remove` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -630,7 +630,7 @@ error[E0592]: duplicate definitions with name `remove` 14 | | } | |_- other definition for `remove` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `toggle` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -649,7 +649,7 @@ error[E0592]: duplicate definitions with name `toggle` 14 | | } | |_- other definition for `toggle` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `set` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -668,7 +668,7 @@ error[E0592]: duplicate definitions with name `set` 14 | | } | |_- other definition for `set` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `intersection` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -687,7 +687,7 @@ error[E0592]: duplicate definitions with name `intersection` 14 | | } | |_- other definition for `intersection` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `union` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -706,7 +706,7 @@ error[E0592]: duplicate definitions with name `union` 14 | | } | |_- other definition for `union` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `difference` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -725,7 +725,7 @@ error[E0592]: duplicate definitions with name `difference` 14 | | } | |_- other definition for `difference` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `symmetric_difference` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -744,7 +744,7 @@ error[E0592]: duplicate definitions with name `symmetric_difference` 14 | | } | |_- other definition for `symmetric_difference` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `complement` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -763,7 +763,7 @@ error[E0592]: duplicate definitions with name `complement` 14 | | } | |_- other definition for `complement` | - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `iter` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -782,7 +782,7 @@ error[E0592]: duplicate definitions with name `iter` 14 | | } | |_- other definition for `iter` | - = note: this error originates in the macro `__impl_public_bitflags_iter` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_iter` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0592]: duplicate definitions with name `iter_names` --> tests/compile-fail/bitflags_redefined.rs:4:1 @@ -801,4 +801,4 @@ error[E0592]: duplicate definitions with name `iter_names` 14 | | } | |_- other definition for `iter_names` | - = note: this error originates in the macro `__impl_public_bitflags_iter` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_public_bitflags_iter` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/compile-fail/unnamed_const.stderr b/tests/compile-fail/unnamed_const.stderr index 21d8036b..99e39bbc 100644 --- a/tests/compile-fail/unnamed_const.stderr +++ b/tests/compile-fail/unnamed_const.stderr @@ -36,4 +36,4 @@ note: if you're trying to build a new `Unnamed` consider using one of the follow 8 | | } 9 | | } | |_^ - = note: this error originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)