binutils-gdb/gdb/testsuite/gdb.rust
Tom Tromey 4a3fe98f88 Make Rust error message mention the field name
I noticed a spot in rust-lang.c where the placeholder "foo" was used
instead of the actual field name.  This patch fixes the bug.

gdb/ChangeLog
2018-09-13  Tom Tromey  <tom@tromey.com>

	PR rust/23650:
	* rust-lang.c (rust_evaluate_subexp): Use field name, not "foo".

gdb/testsuite/ChangeLog
2018-09-13  Tom Tromey  <tom@tromey.com>

	PR rust/23650:
	* gdb.rust/simple.exp: Add test for enum field access error.
2018-09-13 10:57:40 -06:00
..
expr.exp
generics.exp
generics.rs
methods.exp
methods.rs
modules.exp
modules.rs
simple.exp Make Rust error message mention the field name 2018-09-13 10:57:40 -06:00
simple.rs
traits.exp
traits.rs
unsized.exp
unsized.rs
watch.exp
watch.rs