Files
rust/tests/ui/cast/trait-object-size-error-14366.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
176 B
Rust
Raw Normal View History

2025-07-24 17:52:22 +05:00
//! Regression test for https://github.com/rust-lang/rust/issues/14366
2014-10-02 21:52:06 +02:00
fn main() {
2019-05-28 14:46:13 -04:00
let _x = "test" as &dyn (::std::any::Any);
2018-07-10 23:10:13 +02:00
//~^ ERROR the size for values of type
2014-10-02 21:52:06 +02:00
}