Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
suggestions
/
issue-98500.rs
blob: 869b665c8cbb775f042e7896bd5966ef2761d0c4 [
file
] [
log
] [
blame
]
//@ aux-build:dyn-incompatible.rs
extern
crate dyn_incompatible
;
pub
trait
B where
Self
:
dyn_incompatible
::
A
,
{
fn
f2
(&
self
);
}
struct
S
(
Box
<
dyn B
>);
//~^ ERROR the trait `B` is not dyn compatible
fn
main
()
{}