rust/src/test/ui/structs
bors a36b960df6 Auto merge of #57250 - codeworm96:tyerr_msg, r=varkor
Improve type mismatch error messages

Closes #56115.

Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.

TODO the book and clippy needs to be changed accordingly later.

r? @varkor
2019-01-02 11:59:15 +00:00
..
auxiliary
struct-base-wrong-type-2.rs Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
struct-base-wrong-type-2.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
struct-base-wrong-type.rs Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
struct-base-wrong-type.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
struct-duplicate-comma.rs
struct-duplicate-comma.stderr
struct-field-cfg.rs
struct-field-cfg.stderr
struct-field-init-syntax.rs
struct-field-init-syntax.stderr
struct-field-privacy.rs
struct-field-privacy.stderr
struct-fields-decl-dupe.rs
struct-fields-decl-dupe.stderr
struct-fields-dupe.rs
struct-fields-dupe.stderr
struct-fields-hints-no-dupe.rs
struct-fields-hints-no-dupe.stderr use structured suggestions for nonexistent fields 2018-12-31 12:52:30 -05:00
struct-fields-hints.rs
struct-fields-hints.stderr use structured suggestions for nonexistent fields 2018-12-31 12:52:30 -05:00
struct-fields-missing.rs
struct-fields-missing.stderr
struct-fields-shorthand-unresolved.rs
struct-fields-shorthand-unresolved.stderr
struct-fields-shorthand.rs
struct-fields-shorthand.stderr
struct-fields-too-many.rs
struct-fields-too-many.stderr
struct-fields-typo.rs use structured suggestions for nonexistent fields 2018-12-31 12:52:30 -05:00
struct-fields-typo.stderr use structured suggestions for nonexistent fields 2018-12-31 12:52:30 -05:00
struct-like-enum-nonexhaustive.rs
struct-like-enum-nonexhaustive.stderr
struct-missing-comma.rs
struct-missing-comma.stderr
struct-pat-derived-error.rs
struct-pat-derived-error.stderr
struct-path-alias-bounds.rs
struct-path-alias-bounds.stderr
struct-path-associated-type.rs Added regression test for using generic parameters on modules. 2018-12-26 21:54:18 +00:00
struct-path-associated-type.stderr Added regression test for using generic parameters on modules. 2018-12-26 21:54:18 +00:00
struct-path-self-type-mismatch.rs
struct-path-self-type-mismatch.stderr
struct-path-self.rs Added regression test for using generic parameters on modules. 2018-12-26 21:54:18 +00:00
struct-path-self.stderr Added regression test for using generic parameters on modules. 2018-12-26 21:54:18 +00:00
struct-pattern-match-useless.rs
struct-pattern-match-useless.stderr
struct-variant-privacy-xc.rs
struct-variant-privacy-xc.stderr
struct-variant-privacy.rs
struct-variant-privacy.stderr
structure-constructor-type-mismatch.rs Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
structure-constructor-type-mismatch.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00