You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/test-ui/ui/declare_class_mut_self_not_mutable.stderr
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
error[E0277]: the trait bound `InteriorMutable: mutability::private::MutabilityIsMutable` is not satisfied
1
+
error[E0277]: the trait bound `InteriorMutable: mutability::MutabilityIsMutable` is not satisfied
2
2
--> ui/declare_class_mut_self_not_mutable.rs
3
3
|
4
4
| / declare_class!(
@@ -10,10 +10,10 @@ error[E0277]: the trait bound `InteriorMutable: mutability::private::MutabilityI
10
10
| | );
11
11
| | ^
12
12
| | |
13
-
| |_the trait `mutability::private::MutabilityIsMutable` is not implemented for `InteriorMutable`
13
+
| |_the trait `mutability::MutabilityIsMutable` is not implemented for `InteriorMutable`
14
14
| required by a bound introduced by this call
15
15
|
16
-
= help: the following other types implement trait `mutability::private::MutabilityIsMutable`:
16
+
= help: the following other types implement trait `mutability::MutabilityIsMutable`:
17
17
Mutable
18
18
MutableWithImmutableSuperclass<IS>
19
19
= note: required for `CustomObject` to implement `IsMutable`
@@ -28,7 +28,7 @@ note: required by a bound in `ClassBuilder::add_method`
28
28
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ClassBuilder::add_method`
29
29
= note: this error originates in the macro `$crate::__declare_class_register_out` which comes from the expansion of the macro `declare_class` (in Nightly builds, run with -Z macro-backtrace for more info)
30
30
31
-
error[E0277]: the trait bound `InteriorMutable: mutability::private::MutabilityIsMutable` is not satisfied
31
+
error[E0277]: the trait bound `InteriorMutable: mutability::MutabilityIsMutable` is not satisfied
32
32
--> ui/declare_class_mut_self_not_mutable.rs
33
33
|
34
34
| / declare_class!(
@@ -40,10 +40,10 @@ error[E0277]: the trait bound `InteriorMutable: mutability::private::MutabilityI
40
40
| | );
41
41
| | ^
42
42
| | |
43
-
| |_the trait `mutability::private::MutabilityIsMutable` is not implemented for `InteriorMutable`
43
+
| |_the trait `mutability::MutabilityIsMutable` is not implemented for `InteriorMutable`
44
44
| required by a bound introduced by this call
45
45
|
46
-
= help: the following other types implement trait `mutability::private::MutabilityIsMutable`:
46
+
= help: the following other types implement trait `mutability::MutabilityIsMutable`:
47
47
Mutable
48
48
MutableWithImmutableSuperclass<IS>
49
49
= note: required for `CustomObject` to implement `IsMutable`
@@ -58,7 +58,7 @@ note: required by a bound in `ClassBuilder::add_method`
58
58
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ClassBuilder::add_method`
59
59
= note: this error originates in the macro `$crate::__declare_class_register_out` which comes from the expansion of the macro `declare_class` (in Nightly builds, run with -Z macro-backtrace for more info)
60
60
61
-
error[E0277]: the trait bound `InteriorMutable: mutability::private::MutabilityIsMutable` is not satisfied
61
+
error[E0277]: the trait bound `InteriorMutable: mutability::MutabilityIsMutable` is not satisfied
62
62
--> ui/declare_class_mut_self_not_mutable.rs
63
63
|
64
64
| / declare_class!(
@@ -70,10 +70,10 @@ error[E0277]: the trait bound `InteriorMutable: mutability::private::MutabilityI
70
70
| | );
71
71
| | ^
72
72
| | |
73
-
| |_the trait `mutability::private::MutabilityIsMutable` is not implemented for `InteriorMutable`
73
+
| |_the trait `mutability::MutabilityIsMutable` is not implemented for `InteriorMutable`
74
74
| required by a bound introduced by this call
75
75
|
76
-
= help: the following other types implement trait `mutability::private::MutabilityIsMutable`:
76
+
= help: the following other types implement trait `mutability::MutabilityIsMutable`:
77
77
Mutable
78
78
MutableWithImmutableSuperclass<IS>
79
79
= note: required for `CustomObject` to implement `IsMutable`
0 commit comments