@@ -16,7 +16,7 @@ error: Ignoring the following item due to an error: test_crate::{impl#0}
161610 | impl<'a, T> LendingIterator for Option<&'a T> {
1717 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1818
19- thread 'rustc' panicked at /rustc/6b0f4b5ec3aa707ecaa78230722117324a4ce23c /compiler/rustc_type_ir/src/binder.rs:785 :9:
19+ thread 'rustc' panicked at /rustc/730d5d4095a264ef5f7c0a0781eea68c15431d45 /compiler/rustc_type_ir/src/binder.rs:783 :9:
2020const parameter `'a/#1` ('a/#1/1) out of range when instantiating args=[Self/#0]
2121note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2222error: Thread panicked when extracting item `test_crate::LendingIterator::next`.
@@ -38,9 +38,10 @@ warning[E9999]: Hax frontend found a projected type with escaping bound vars. Pl
3838 - alias_ty: AliasTy {
3939 args: [
4040 impl for<'a> FnMut(I::Item<'a>)/#1,
41- (Alias(Projection, AliasTy { args: [I/#0, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item }),),
41+ (Alias(Projection, AliasTy { args: [I/#0, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item, .. }),),
4242 ],
4343 def_id: core::ops::function::FnOnce::Output,
44+ ..
4445 }
4546 - alias_kind: Projection
4647 - trait_ref: <impl for<'a> FnMut(I::Item<'a>) as std::ops::FnOnce<(<I as LendingIterator>::Item<'a>,)>>
@@ -50,17 +51,17 @@ warning[E9999]: Hax frontend found a projected type with escaping bound vars. Pl
5051 )
5152 - rebased_generics: [
5253 impl for<'a> FnMut(I::Item<'a>)/#1,
53- (Alias(Projection, AliasTy { args: [I/#0, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item }),),
54- (Alias(Projection, AliasTy { args: [I/#0, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item }),),
54+ (Alias(Projection, AliasTy { args: [I/#0, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item, .. }),),
55+ (Alias(Projection, AliasTy { args: [I/#0, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item, .. }),),
5556 ]
5657 - norm_rebased_generics: Err(
5758 Type(
58- (Alias(Projection, AliasTy { args: [impl for<'a> FnMut(I::Item<'a>)/#1, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item }),),
59+ (Alias(Projection, AliasTy { args: [impl for<'a> FnMut(I::Item<'a>)/#1, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item, .. }),),
5960 ),
6061 )
6162 - norm_generics: Err(
6263 Type(
63- (Alias(Projection, AliasTy { args: [impl for<'a> FnMut(I::Item<'a>)/#1, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item }),),
64+ (Alias(Projection, AliasTy { args: [impl for<'a> FnMut(I::Item<'a>)/#1, '^0.Named(test_crate::for_each::'a, "'a")], def_id: test_crate::LendingIterator::Item, .. }),),
6465 ),
6566 )
6667 - early_binder_generics: Ok(
@@ -73,7 +74,7 @@ warning[E9999]: Hax frontend found a projected type with escaping bound vars. Pl
7374 = note: ⚠️ This is a bug in Hax's frontend.
7475 Please report this error to https://github.com/hacspec/hax/issues with some context (e.g. the current crate)!
7576
76- thread 'rustc' panicked at /rustc/6b0f4b5ec3aa707ecaa78230722117324a4ce23c /compiler/rustc_type_ir/src/binder.rs:785 :9:
77+ thread 'rustc' panicked at /rustc/730d5d4095a264ef5f7c0a0781eea68c15431d45 /compiler/rustc_type_ir/src/binder.rs:783 :9:
7778const parameter `'a/#1` ('a/#1/1) out of range when instantiating args=[I/#0]
7879error: Thread panicked when extracting item `test_crate::for_each`.
7980 --> tests/ui/generic-associated-types.rs:24:1
@@ -97,5 +98,4 @@ warning: unused variable: `x`
9798
9899error: aborting due to 6 previous errors; 2 warnings emitted
99100
100- [ERROR charon_driver:249] Compilation encountered 6 errors
101- Error: Charon driver exited with code 1
101+ Error: Charon driver exited with code 101
0 commit comments