diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-07-20 10:56:33 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-07-22 10:22:00 -0500 |
| commit | 0ebd6e489150ce79bee339ff713078bf6eff2eae (patch) | |
| tree | b80da0796e1b53d51688b7cdc8db7e9d8b37710a /src/test/ui/issues | |
| parent | f913a4fe901d6aeb84941fa06c17916d4e6d1dd7 (diff) | |
| download | rust-0ebd6e489150ce79bee339ff713078bf6eff2eae.tar.gz rust-0ebd6e489150ce79bee339ff713078bf6eff2eae.zip | |
Extend HIR WF checking to fields
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-19380.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-19380.stderr b/src/test/ui/issues/issue-19380.stderr index c3a5d3dfeee..4400b6179c6 100644 --- a/src/test/ui/issues/issue-19380.stderr +++ b/src/test/ui/issues/issue-19380.stderr @@ -1,8 +1,8 @@ error[E0038]: the trait `Qiz` cannot be made into an object - --> $DIR/issue-19380.rs:11:9 + --> $DIR/issue-19380.rs:11:29 | LL | foos: &'static [&'static (dyn Qiz + 'static)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Qiz` cannot be made into an object + | ^^^^^^^^^^^^^^^^^ `Qiz` cannot be made into an object | note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety> --> $DIR/issue-19380.rs:2:6 |
