-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
99 additions
and
71 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
thread 'rustc' panicked at src/bin/charon-driver/translate/translate_predicates.rs:578:13: | ||
internal error: entered unreachable code: Could not find a clause for parameter: | ||
- target param: TraitRef { def_id: core::marker::Sized, generic_args: [Type(Param(ParamTy { index: 0, name: "T" }))] } | ||
- available clauses: | ||
# Final LLBC before serialization: | ||
|
||
trait test_crate::Trait<Self> | ||
|
||
enum core::option::Option<T> = | ||
| None() | ||
| Some(T) | ||
|
||
|
||
impl<T> test_crate::{impl test_crate::Trait for core::option::Option<T>}<T> : test_crate::Trait<core::option::Option<T>> | ||
|
||
- context: test_crate::{impl#0} | ||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | ||
error: Thread panicked when extracting item `test_crate::{impl#0}`. | ||
--> tests/ui/find-sized-clause.rs:5:1 | ||
| | ||
5 | impl<T> Trait for Option<T> {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
thread 'rustc' panicked at src/bin/charon-driver/translate/translate_crate_to_ullbc.rs:284:25: | ||
Thread panicked when extracting item `test_crate::{impl#0}`. | ||
error: aborting due to 1 previous error | ||
|
||
Error: Charon driver exited with code 101 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
//@ known-failure | ||
//@ charon-args=--abort-on-error | ||
|
||
trait Trait {} | ||
impl<T> Trait for Option<T> {} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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