2021-11-04 07:52:36 -05:00
|
|
|
error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/crashes/ice-3969.rs:20:10
|
2020-06-09 09:36:01 -05:00
|
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
LL | str: Sized;
|
|
|
|
| ^^^^^
|
2020-06-09 09:36:01 -05:00
|
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
= note: `-D trivial-bounds` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(trivial_bounds)]`
|
2020-06-09 09:36:01 -05:00
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
error: trait bound for<'a> Dst<(dyn A + 'a)>: std::marker::Sized does not depend on any type or lifetime parameters
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/crashes/ice-3969.rs:26:30
|
2020-06-09 09:36:01 -05:00
|
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
LL | for<'a> Dst<dyn A + 'a>: Sized,
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/crashes/ice-3969.rs:34:10
|
2021-04-29 11:37:22 -05:00
|
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
LL | str: Sized,
|
|
|
|
| ^^^^^
|
2020-06-09 09:36:01 -05:00
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
error: trait bound std::string::String: std::ops::Neg does not depend on any type or lifetime parameters
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/crashes/ice-3969.rs:42:13
|
2020-06-09 09:36:01 -05:00
|
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
LL | String: ::std::ops::Neg<Output = String>,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: trait bound i32: std::iter::Iterator does not depend on any type or lifetime parameters
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/crashes/ice-3969.rs:50:10
|
2021-04-29 11:37:22 -05:00
|
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
LL | i32: Iterator,
|
|
|
|
| ^^^^^^^^
|
2020-06-09 09:36:01 -05:00
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
error: aborting due to 5 previous errors
|
2020-06-09 09:36:01 -05:00
|
|
|
|