]> git.lizzy.rs Git - rust.git/blob - tests/ui/specialization/issue-52050.stderr
Auto merge of #106825 - weihanglo:update-cargo, r=weihanglo
[rust.git] / tests / ui / specialization / issue-52050.stderr
1 warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
2   --> $DIR/issue-52050.rs:1:12
3    |
4 LL | #![feature(specialization)]
5    |            ^^^^^^^^^^^^^^
6    |
7    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8    = help: consider using `min_specialization` instead, which is more stable and complete
9    = note: `#[warn(incomplete_features)]` on by default
10
11 error[E0119]: conflicting implementations of trait `IntoPyDictPointer` for type `()`
12   --> $DIR/issue-52050.rs:28:1
13    |
14 LL | impl<I> IntoPyDictPointer for I
15    | ------------------------------- first implementation here
16 ...
17 LL | impl IntoPyDictPointer for ()
18    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
19    |
20    = note: upstream crates may add a new impl of trait `std::iter::Iterator` for type `()` in future versions
21
22 error: aborting due to previous error; 1 warning emitted
23
24 For more information about this error, try `rustc --explain E0119`.