forked from libre-chip/fayalite
update ui test's expected output for having rust-src available
This commit is contained in:
parent
eb3ca59053
commit
a93e66d8ab
1 changed files with 139 additions and 103 deletions
|
|
@ -55,18 +55,27 @@ error[E0277]: `Rc<(dyn value::sim_only_value_unsafe::DynSimOnlyValueTrait + 'sta
|
||||||
note: required because it appears within the type `DynSimOnlyValue`
|
note: required because it appears within the type `DynSimOnlyValue`
|
||||||
--> src/sim/value/sim_only_value_unsafe.rs
|
--> src/sim/value/sim_only_value_unsafe.rs
|
||||||
|
|
|
|
||||||
| pub struct DynSimOnlyValue(Rc<dyn DynSimOnlyValueTrait>);
|
271 | pub struct DynSimOnlyValue(Rc<dyn DynSimOnlyValueTrait>);
|
||||||
| ^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `PhantomData<DynSimOnlyValue>`
|
note: required because it appears within the type `PhantomData<DynSimOnlyValue>`
|
||||||
--> $RUST/core/src/marker.rs
|
--> $RUST/core/src/marker.rs
|
||||||
|
|
|
||||||
|
819 | pub struct PhantomData<T: PointeeSized>;
|
||||||
|
| ^^^^^^^^^^^
|
||||||
note: required because it appears within the type `alloc::raw_vec::RawVec<DynSimOnlyValue>`
|
note: required because it appears within the type `alloc::raw_vec::RawVec<DynSimOnlyValue>`
|
||||||
--> $RUST/alloc/src/raw_vec/mod.rs
|
--> $RUST/alloc/src/raw_vec/mod.rs
|
||||||
|
|
|
||||||
|
73 | pub(crate) struct RawVec<T, A: Allocator = Global> {
|
||||||
|
| ^^^^^^
|
||||||
note: required because it appears within the type `Vec<DynSimOnlyValue>`
|
note: required because it appears within the type `Vec<DynSimOnlyValue>`
|
||||||
--> $RUST/alloc/src/vec/mod.rs
|
--> $RUST/alloc/src/vec/mod.rs
|
||||||
|
|
|
||||||
|
438 | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
|
||||||
|
| ^^^
|
||||||
note: required because it appears within the type `OpaqueSimValue`
|
note: required because it appears within the type `OpaqueSimValue`
|
||||||
--> src/ty.rs
|
--> src/ty.rs
|
||||||
|
|
|
|
||||||
| pub struct OpaqueSimValue {
|
734 | pub struct OpaqueSimValue {
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `value::SimValueInner<()>`
|
note: required because it appears within the type `value::SimValueInner<()>`
|
||||||
--> src/sim/value.rs
|
--> src/sim/value.rs
|
||||||
|
|
@ -75,6 +84,9 @@ note: required because it appears within the type `value::SimValueInner<()>`
|
||||||
| ^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `UnsafeCell<value::SimValueInner<()>>`
|
note: required because it appears within the type `UnsafeCell<value::SimValueInner<()>>`
|
||||||
--> $RUST/core/src/cell.rs
|
--> $RUST/core/src/cell.rs
|
||||||
|
|
|
||||||
|
| pub struct UnsafeCell<T: ?Sized> {
|
||||||
|
| ^^^^^^^^^^
|
||||||
note: required because it appears within the type `util::alternating_cell::AlternatingCell<value::SimValueInner<()>>`
|
note: required because it appears within the type `util::alternating_cell::AlternatingCell<value::SimValueInner<()>>`
|
||||||
--> src/util/alternating_cell.rs
|
--> src/util/alternating_cell.rs
|
||||||
|
|
|
|
||||||
|
|
@ -83,12 +95,12 @@ note: required because it appears within the type `util::alternating_cell::Alter
|
||||||
note: required because it appears within the type `fayalite::prelude::SimValue<()>`
|
note: required because it appears within the type `fayalite::prelude::SimValue<()>`
|
||||||
--> src/sim/value.rs
|
--> src/sim/value.rs
|
||||||
|
|
|
|
||||||
| pub struct SimValue<T: Type> {
|
160 | pub struct SimValue<T: Type> {
|
||||||
| ^^^^^^^^
|
| ^^^^^^^^
|
||||||
note: required by a bound in `fayalite::intern::Interned`
|
note: required by a bound in `fayalite::intern::Interned`
|
||||||
--> src/intern.rs
|
--> src/intern.rs
|
||||||
|
|
|
|
||||||
| pub struct Interned<T: ?Sized + 'static + Send + Sync> {
|
648 | pub struct Interned<T: ?Sized + 'static + Send + Sync> {
|
||||||
| ^^^^ required by this bound in `Interned`
|
| ^^^^ required by this bound in `Interned`
|
||||||
|
|
||||||
error[E0277]: the trait bound `fayalite::prelude::SimValue<()>: Intern` is not satisfied
|
error[E0277]: the trait bound `fayalite::prelude::SimValue<()>: Intern` is not satisfied
|
||||||
|
|
@ -182,18 +194,27 @@ error[E0277]: `Rc<(dyn value::sim_only_value_unsafe::DynSimOnlyValueTrait + 'sta
|
||||||
note: required because it appears within the type `DynSimOnlyValue`
|
note: required because it appears within the type `DynSimOnlyValue`
|
||||||
--> src/sim/value/sim_only_value_unsafe.rs
|
--> src/sim/value/sim_only_value_unsafe.rs
|
||||||
|
|
|
|
||||||
| pub struct DynSimOnlyValue(Rc<dyn DynSimOnlyValueTrait>);
|
271 | pub struct DynSimOnlyValue(Rc<dyn DynSimOnlyValueTrait>);
|
||||||
| ^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `PhantomData<DynSimOnlyValue>`
|
note: required because it appears within the type `PhantomData<DynSimOnlyValue>`
|
||||||
--> $RUST/core/src/marker.rs
|
--> $RUST/core/src/marker.rs
|
||||||
|
|
|
||||||
|
819 | pub struct PhantomData<T: PointeeSized>;
|
||||||
|
| ^^^^^^^^^^^
|
||||||
note: required because it appears within the type `alloc::raw_vec::RawVec<DynSimOnlyValue>`
|
note: required because it appears within the type `alloc::raw_vec::RawVec<DynSimOnlyValue>`
|
||||||
--> $RUST/alloc/src/raw_vec/mod.rs
|
--> $RUST/alloc/src/raw_vec/mod.rs
|
||||||
|
|
|
||||||
|
73 | pub(crate) struct RawVec<T, A: Allocator = Global> {
|
||||||
|
| ^^^^^^
|
||||||
note: required because it appears within the type `Vec<DynSimOnlyValue>`
|
note: required because it appears within the type `Vec<DynSimOnlyValue>`
|
||||||
--> $RUST/alloc/src/vec/mod.rs
|
--> $RUST/alloc/src/vec/mod.rs
|
||||||
|
|
|
||||||
|
438 | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
|
||||||
|
| ^^^
|
||||||
note: required because it appears within the type `OpaqueSimValue`
|
note: required because it appears within the type `OpaqueSimValue`
|
||||||
--> src/ty.rs
|
--> src/ty.rs
|
||||||
|
|
|
|
||||||
| pub struct OpaqueSimValue {
|
734 | pub struct OpaqueSimValue {
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `value::SimValueInner<()>`
|
note: required because it appears within the type `value::SimValueInner<()>`
|
||||||
--> src/sim/value.rs
|
--> src/sim/value.rs
|
||||||
|
|
@ -202,6 +223,9 @@ note: required because it appears within the type `value::SimValueInner<()>`
|
||||||
| ^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `UnsafeCell<value::SimValueInner<()>>`
|
note: required because it appears within the type `UnsafeCell<value::SimValueInner<()>>`
|
||||||
--> $RUST/core/src/cell.rs
|
--> $RUST/core/src/cell.rs
|
||||||
|
|
|
||||||
|
| pub struct UnsafeCell<T: ?Sized> {
|
||||||
|
| ^^^^^^^^^^
|
||||||
note: required because it appears within the type `util::alternating_cell::AlternatingCell<value::SimValueInner<()>>`
|
note: required because it appears within the type `util::alternating_cell::AlternatingCell<value::SimValueInner<()>>`
|
||||||
--> src/util/alternating_cell.rs
|
--> src/util/alternating_cell.rs
|
||||||
|
|
|
|
||||||
|
|
@ -210,15 +234,15 @@ note: required because it appears within the type `util::alternating_cell::Alter
|
||||||
note: required because it appears within the type `fayalite::prelude::SimValue<()>`
|
note: required because it appears within the type `fayalite::prelude::SimValue<()>`
|
||||||
--> src/sim/value.rs
|
--> src/sim/value.rs
|
||||||
|
|
|
|
||||||
| pub struct SimValue<T: Type> {
|
160 | pub struct SimValue<T: Type> {
|
||||||
| ^^^^^^^^
|
| ^^^^^^^^
|
||||||
note: required by a bound in `intern_sized`
|
note: required by a bound in `intern_sized`
|
||||||
--> src/intern.rs
|
--> src/intern.rs
|
||||||
|
|
|
|
||||||
| pub trait Intern: Any + Send + Sync {
|
596 | pub trait Intern: Any + Send + Sync {
|
||||||
| ^^^^ required by this bound in `Intern::intern_sized`
|
| ^^^^ required by this bound in `Intern::intern_sized`
|
||||||
...
|
...
|
||||||
| fn intern_sized(self) -> Interned<Self>
|
604 | fn intern_sized(self) -> Interned<Self>
|
||||||
| ------------ required by a bound in this associated function
|
| ------------ required by a bound in this associated function
|
||||||
help: consider dereferencing here
|
help: consider dereferencing here
|
||||||
|
|
|
|
||||||
|
|
@ -282,18 +306,27 @@ error[E0277]: `Rc<(dyn value::sim_only_value_unsafe::DynSimOnlyValueTrait + 'sta
|
||||||
note: required because it appears within the type `DynSimOnlyValue`
|
note: required because it appears within the type `DynSimOnlyValue`
|
||||||
--> src/sim/value/sim_only_value_unsafe.rs
|
--> src/sim/value/sim_only_value_unsafe.rs
|
||||||
|
|
|
|
||||||
| pub struct DynSimOnlyValue(Rc<dyn DynSimOnlyValueTrait>);
|
271 | pub struct DynSimOnlyValue(Rc<dyn DynSimOnlyValueTrait>);
|
||||||
| ^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `PhantomData<DynSimOnlyValue>`
|
note: required because it appears within the type `PhantomData<DynSimOnlyValue>`
|
||||||
--> $RUST/core/src/marker.rs
|
--> $RUST/core/src/marker.rs
|
||||||
|
|
|
||||||
|
819 | pub struct PhantomData<T: PointeeSized>;
|
||||||
|
| ^^^^^^^^^^^
|
||||||
note: required because it appears within the type `alloc::raw_vec::RawVec<DynSimOnlyValue>`
|
note: required because it appears within the type `alloc::raw_vec::RawVec<DynSimOnlyValue>`
|
||||||
--> $RUST/alloc/src/raw_vec/mod.rs
|
--> $RUST/alloc/src/raw_vec/mod.rs
|
||||||
|
|
|
||||||
|
73 | pub(crate) struct RawVec<T, A: Allocator = Global> {
|
||||||
|
| ^^^^^^
|
||||||
note: required because it appears within the type `Vec<DynSimOnlyValue>`
|
note: required because it appears within the type `Vec<DynSimOnlyValue>`
|
||||||
--> $RUST/alloc/src/vec/mod.rs
|
--> $RUST/alloc/src/vec/mod.rs
|
||||||
|
|
|
||||||
|
438 | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
|
||||||
|
| ^^^
|
||||||
note: required because it appears within the type `OpaqueSimValue`
|
note: required because it appears within the type `OpaqueSimValue`
|
||||||
--> src/ty.rs
|
--> src/ty.rs
|
||||||
|
|
|
|
||||||
| pub struct OpaqueSimValue {
|
734 | pub struct OpaqueSimValue {
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `value::SimValueInner<()>`
|
note: required because it appears within the type `value::SimValueInner<()>`
|
||||||
--> src/sim/value.rs
|
--> src/sim/value.rs
|
||||||
|
|
@ -302,6 +335,9 @@ note: required because it appears within the type `value::SimValueInner<()>`
|
||||||
| ^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^
|
||||||
note: required because it appears within the type `UnsafeCell<value::SimValueInner<()>>`
|
note: required because it appears within the type `UnsafeCell<value::SimValueInner<()>>`
|
||||||
--> $RUST/core/src/cell.rs
|
--> $RUST/core/src/cell.rs
|
||||||
|
|
|
||||||
|
| pub struct UnsafeCell<T: ?Sized> {
|
||||||
|
| ^^^^^^^^^^
|
||||||
note: required because it appears within the type `util::alternating_cell::AlternatingCell<value::SimValueInner<()>>`
|
note: required because it appears within the type `util::alternating_cell::AlternatingCell<value::SimValueInner<()>>`
|
||||||
--> src/util/alternating_cell.rs
|
--> src/util/alternating_cell.rs
|
||||||
|
|
|
|
||||||
|
|
@ -310,10 +346,10 @@ note: required because it appears within the type `util::alternating_cell::Alter
|
||||||
note: required because it appears within the type `fayalite::prelude::SimValue<()>`
|
note: required because it appears within the type `fayalite::prelude::SimValue<()>`
|
||||||
--> src/sim/value.rs
|
--> src/sim/value.rs
|
||||||
|
|
|
|
||||||
| pub struct SimValue<T: Type> {
|
160 | pub struct SimValue<T: Type> {
|
||||||
| ^^^^^^^^
|
| ^^^^^^^^
|
||||||
note: required by a bound in `fayalite::intern::Interned`
|
note: required by a bound in `fayalite::intern::Interned`
|
||||||
--> src/intern.rs
|
--> src/intern.rs
|
||||||
|
|
|
|
||||||
| pub struct Interned<T: ?Sized + 'static + Send + Sync> {
|
648 | pub struct Interned<T: ?Sized + 'static + Send + Sync> {
|
||||||
| ^^^^ required by this bound in `Interned`
|
| ^^^^ required by this bound in `Interned`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue