mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-29 16:13:40 +00:00
5f3c340bfb
As discussed in rust-lang/rust#47475 the #[inline] attribute is currently allowed on trait methods without bodies (i.e. without a default implementation). This is misleading as it could be interpreted as affecting the implementations of the trait method. Add a lint for any use of #[inline] on a trait method without a body. Fixes rust-lang/rust#47475 |
||
---|---|---|
.. | ||
auxiliary | ||
run-pass | ||
ui | ||
camel_case.rs | ||
cc_seme.rs | ||
compile-test.rs | ||
conf_whitelisted.rs | ||
dogfood.rs | ||
ice_exacte_size.rs | ||
issue-825.rs | ||
matches.rs | ||
mut_mut_macro.rs | ||
needless_continue_helpers.rs | ||
trim_multiline.rs | ||
used_underscore_binding_macro.rs | ||
versioncheck.rs |