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
error[E0275]: overflow evaluating the requirement `_: Sized`
1
+
error[E0689]: can't call method `contains` on ambiguous numeric type `{integer}`
2
2
--> $DIR/issue-18400.rs:24:7
3
3
|
4
4
LL | 0.contains(bits);
5
5
| ^^^^^^^^
6
6
|
7
-
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_18400`)
8
-
note: required for `{integer}` to implement `Set<&[_]>`
9
-
--> $DIR/issue-18400.rs:6:16
7
+
help: you must specify a concrete type for this numeric value, like `i32`
10
8
|
11
-
LL | impl<'a, T, S> Set<&'a [T]> for S where
12
-
| ^^^^^^^^^^^^ ^
13
-
= note: 128 redundant requirements hidden
14
-
= note: required for `{integer}` to implement `Set<&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[_]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]>`
9
+
LL | 0_i32.contains(bits);
10
+
| ~~~~~
15
11
16
12
error: aborting due to previous error
17
13
18
-
For more information about this error, try `rustc --explain E0275`.
14
+
For more information about this error, try `rustc --explain E0689`.
0 commit comments