Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Checking core v0.0.0 (C:\Users\Stovent\Documents\Dev\rust\library\core)
- error: cannot find a built-in macro with name `unreachable`
- --> library\core\src\macros\mod.rs:603:1
- |
- 603 | / macro_rules! unreachable {
- 604 | | // Expands to either `$crate::panic::unreachable_2015` or `$crate::panic::unreachable_2021`
- 605 | | // depending on the edition of the caller.
- 606 | | ($($arg:tt)*) => {
- 607 | | /* compiler built-in */
- 608 | | };
- 609 | | }
- | |_^
- error: macro expansion ends with an incomplete expression: expected expression
- --> library\core\src\iter\adapters\zip.rs:192:22
- |
- 192 | _ => unreachable!(),
- | ^^^^^^^^^^^^^^ expected expression
- ...
- 207 | zip_impl_general_defaults! {}
- | ----------------------------- in this macro invocation
- |
- ::: library\core\src\macros\mod.rs:606:22
- |
- 606 | ($($arg:tt)*) => {
- | ______________________-
- 607 | | /* compiler built-in */
- 608 | | };
- | |_____- in this macro arm
- |
- = note: the macro call doesn't expand to an expression, but it can expand to a statement
- = note: this error originates in the macro `zip_impl_general_defaults` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: add `;` to interpret the expansion as a statement
- |
- 192 | _ => unreachable!();,
- | +
- error: macro expansion ends with an incomplete expression: expected expression
- --> library\core\src\iter\adapters\zip.rs:192:22
- |
- 192 | _ => unreachable!(),
- | ^^^^^^^^^^^^^^ expected expression
- ...
- 240 | zip_impl_general_defaults! {}
- | ----------------------------- in this macro invocation
- |
- ::: library\core\src\macros\mod.rs:606:22
- |
- 606 | ($($arg:tt)*) => {
- | ______________________-
- 607 | | /* compiler built-in */
- 608 | | };
- | |_____- in this macro arm
- |
- = note: the macro call doesn't expand to an expression, but it can expand to a statement
- = note: this error originates in the macro `zip_impl_general_defaults` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: add `;` to interpret the expansion as a statement
- |
- 192 | _ => unreachable!();,
- | +
- error: macro expansion ends with an incomplete expression: expected expression
- --> library\core\src\lazy.rs:59:27
- |
- 59 | Err(_) => unreachable!(),
- | ^^^^^^^^^^^^^^ expected expression
- |
- ::: library\core\src\macros\mod.rs:606:22
- |
- 606 | ($($arg:tt)*) => {
- | ______________________-
- 607 | | /* compiler built-in */
- 608 | | };
- | |_____- in this macro arm
- |
- = note: the macro call doesn't expand to an expression, but it can expand to a statement
- help: add `;` to interpret the expansion as a statement
- |
- 59 | Err(_) => unreachable!();,
- | +
- error: macro expansion ends with an incomplete expression: expected expression
- --> library\core\src\slice\mod.rs:101:14
- |
- 101 | _ => unreachable!(),
- | ^^^^^^^^^^^^^^ expected expression
- |
- ::: library\core\src\macros\mod.rs:606:22
- |
- 606 | ($($arg:tt)*) => {
- | ______________________-
- 607 | | /* compiler built-in */
- 608 | | };
- | |_____- in this macro arm
- |
- = note: the macro call doesn't expand to an expression, but it can expand to a statement
- help: add `;` to interpret the expansion as a statement
- |
- 101 | _ => unreachable!();,
- | +
- error: macro expansion ends with an incomplete expression: expected expression
- --> library\core\src\future\join.rs:166:22
- |
- 166 | _ => unreachable!(),
- | ^^^^^^^^^^^^^^ expected expression
- |
- ::: library\core\src\macros\mod.rs:606:22
- |
- 606 | ($($arg:tt)*) => {
- | ______________________-
- 607 | | /* compiler built-in */
- 608 | | };
- | |_____- in this macro arm
- |
- = note: the macro call doesn't expand to an expression, but it can expand to a statement
- help: add `;` to interpret the expansion as a statement
- |
- 166 | _ => unreachable!();,
- | +
- error: macro expansion ends with an incomplete expression: expected expression
- --> library\core\src\future\join.rs:187:37
- |
- 187 | MaybeDone::Taken => unreachable!(),
- | ^^^^^^^^^^^^^^ expected expression
- |
- ::: library\core\src\macros\mod.rs:606:22
- |
- 606 | ($($arg:tt)*) => {
- | ______________________-
- 607 | | /* compiler built-in */
- 608 | | };
- | |_____- in this macro arm
- |
- = note: the macro call doesn't expand to an expression, but it can expand to a statement
- help: add `;` to interpret the expansion as a statement
- |
- 187 | MaybeDone::Taken => unreachable!();,
- | +
- error[E0308]: mismatched types
- --> library\core\src\iter\adapters\zip.rs:226:64
- |
- 226 | default unsafe fn get_unchecked(&mut self, _idx: usize) -> <Self as Iterator>::Item
- | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found `()`
- | |
- | implicitly returns `()` as its body has no tail or `return` expression
- |
- = note: expected tuple `(<A as Iterator>::Item, <B as Iterator>::Item)`
- found unit type `()`
- error[E0308]: mismatched types
- --> library\core\src\iter\traits\iterator.rs:3588:5
- |
- 3588 | / {
- 3589 | | unreachable!("Always specialized");
- 3590 | | }
- | |_____^ expected associated type, found `()`
- |
- = note: expected associated type `<Self as Iterator>::Item`
- found unit type `()`
- = help: consider constraining the associated type `<Self as Iterator>::Item` to `()` or calling a method that returns `<Self as Iterator>::Item`
- = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
- For more information about this error, try `rustc --explain E0308`.
- error: could not compile `core` due to 9 previous errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement