about summary refs log tree commit diff
path: root/src/test/ui/parser/trait-item-with-defaultness-fail-semantic.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-60/+0
2022-10-01bless ui testsMaybe Waffle-1/+1
2020-12-08Clarify the 'default is only allowed on...' errorCamelid-6/+6
Code like impl Foo { default fn foo() {} } will trigger the error error: `default` is only allowed on items in `impl` definitions --> src/lib.rs:5:5 | 5 | default fn foo() {} | -------^^^^^^^^^ | | | `default` because of this but that's very confusing! I *did* put it on an item in an impl! So this commit changes the message to error: `default` is only allowed on items in trait impls --> src/lib.rs:5:5 | 5 | default fn foo() {} | -------^^^^^^^^^ | | | `default` because of this
2020-10-17Suggest minimal subset features in `incomplete_features` lintYuki Okushi-0/+1
2020-06-16warn against 'specialization' featureRalf Jung-1/+10
2020-02-24add `Span` to `ast::Defaultness::Default`.Mazdak Farrokhzad-6/+18
2019-12-12Unify assoc item visitors more.Mazdak Farrokhzad-6/+6
2019-12-12Alias `TraitItem` & `ImplItem`.Mazdak Farrokhzad-0/+38
Allow defaultness on trait items syntactically.