diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-03-16 13:14:01 -0400 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-03-16 13:14:01 -0400 |
| commit | b392c5e3c17396f3987f671a61fa9fbf9f999dae (patch) | |
| tree | c753184750571679ad744ab1cdfffa45b4a16d66 /src/test/ui/structs | |
| parent | 16e7e05e95a6a5a1e0dba54ae722274bd7d725f7 (diff) | |
| download | rust-b392c5e3c17396f3987f671a61fa9fbf9f999dae.tar.gz rust-b392c5e3c17396f3987f671a61fa9fbf9f999dae.zip | |
use the identifier span for missing struct field
Diffstat (limited to 'src/test/ui/structs')
| -rw-r--r-- | src/test/ui/structs/struct-field-cfg.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/structs/struct-field-cfg.stderr b/src/test/ui/structs/struct-field-cfg.stderr index c8c624d548b..565866a682a 100644 --- a/src/test/ui/structs/struct-field-cfg.stderr +++ b/src/test/ui/structs/struct-field-cfg.stderr @@ -22,7 +22,7 @@ error[E0026]: struct `Foo` does not have a field named `absent` --> $DIR/struct-field-cfg.rs:16:42 | LL | let Foo { present: (), #[cfg(all())] absent: () } = foo; - | ^^^^^^^^^^ struct `Foo` does not have this field + | ^^^^^^ struct `Foo` does not have this field error: aborting due to 4 previous errors |
