Last active
June 21, 2018 15:32
-
-
Save nikomatsakis/0a88000f8b87938ea694c5b47269fb65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> rustc +nightly -Vv | |
rustc 1.28.0-nightly (f28c7aef7 2018-06-19) | |
binary: rustc | |
commit-hash: f28c7aef7fbff1909c2d0257186cd7a5f0c6aa4b | |
commit-date: 2018-06-19 | |
host: x86_64-unknown-linux-gnu | |
release: 1.28.0-nightly | |
LLVM version: 6.0 | |
> rustc +nightly error-codes/E0657.rs | |
error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level | |
--> error-codes/E0657.rs:19:31 | |
| | |
19 | -> Box<for<'a> Id<impl Lt<'a>>> | |
| ^^ | |
error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level | |
--> error-codes/E0657.rs:28:35 | |
| | |
28 | -> Box<for<'a> Id<impl Lt<'a>>> | |
| ^^ | |
thread 'main' panicked at 'assertion failed: !erased_self_ty.has_escaping_regions()', librustc/ty/util.rs:369:9 | |
note: Run with `RUST_BACKTRACE=1` for a backtrace. | |
error: aborting due to 2 previous errors | |
For more information about this error, try `rustc --explain E0657`. | |
error: internal compiler error: unexpected panic | |
note: the compiler unexpectedly panicked. this is a bug. | |
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports | |
note: rustc 1.28.0-nightly (f28c7aef7 2018-06-19) running on x86_64-unknown-linux-gnu | |
> rustc +nightly impl_trait_projections.rs | |
error[E0667]: `impl Trait` is not allowed in path parameters | |
--> impl_trait_projections.rs:21:51 | |
| | |
21 | fn projection_is_disallowed(x: impl Iterator) -> <impl Iterator>::Item { | |
| ^^^^^^^^^^^^^ | |
error[E0667]: `impl Trait` is not allowed in path parameters | |
--> impl_trait_projections.rs:28:9 | |
| | |
28 | -> <impl Iterator as Iterator>::Item | |
| ^^^^^^^^^^^^^ | |
error[E0667]: `impl Trait` is not allowed in path parameters | |
--> impl_trait_projections.rs:35:27 | |
| | |
35 | -> <::std::ops::Range<impl Debug> as Iterator>::Item | |
| ^^^^^^^^^^ | |
error[E0667]: `impl Trait` is not allowed in path parameters | |
--> impl_trait_projections.rs:42:29 | |
| | |
42 | -> <dyn Iterator<Item = impl Debug> as Iterator>::Item | |
| ^^^^^^^^^^ | |
error[E0223]: ambiguous associated type | |
--> impl_trait_projections.rs:21:50 | |
| | |
21 | fn projection_is_disallowed(x: impl Iterator) -> <impl Iterator>::Item { | |
| ^^^^^^^^^^^^^^^^^^^^^ ambiguous associated type | |
| | |
= note: specify the type using the syntax `<impl std::iter::Iterator as Trait>::Item` | |
thread 'main' panicked at 'no entry found for key', libcore/option.rs:960:5 | |
note: Run with `RUST_BACKTRACE=1` for a backtrace. | |
error: aborting due to 5 previous errors | |
Some errors occurred: E0223, E0667. | |
For more information about an error, try `rustc --explain E0223`. | |
error: internal compiler error: unexpected panic | |
note: the compiler unexpectedly panicked. this is a bug. | |
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports | |
note: rustc 1.28.0-nightly (f28c7aef7 2018-06-19) running on x86_64-unknown-linux-gnu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment