]> git.lizzy.rs Git - rust.git/commit
Rename ignored_generic_bounds -> type_alias_bounds
authorRalf Jung <post@ralfj.de>
Sat, 10 Mar 2018 10:43:51 +0000 (11:43 +0100)
committerRalf Jung <post@ralfj.de>
Sat, 10 Mar 2018 11:07:26 +0000 (12:07 +0100)
commit562b44d8c3dbcf7c36209774e50fe833e65a98d6
treec50ace35d913273050b942788d3156f08b35b70b
parent81130ed4b104adf28921120416dcc9db3253c996
Rename ignored_generic_bounds -> type_alias_bounds

First of all, the lint is specific for type aliases.  Second, it turns out the
bounds are not entirely ignored but actually used when accessing associated
types.  So change the wording of the lint, and adapt its name to reality.

The lint has never been on stable or beta, so renaming is safe.
src/librustc_lint/builtin.rs
src/librustc_lint/lib.rs
src/test/compile-fail/issue-17994.rs
src/test/compile-fail/private-in-public-warn.rs
src/test/ui/type-alias-bounds.rs
src/test/ui/type-alias-bounds.stderr