Fix typo in tests/ui/missing_const_for_fn/const_trait.rs (#15090)
I think the comment is meant to refer to [clippy_utils::qualify_min_const_fn](https://github.com/rust-lang/rust-clippy/blob/master/clippy_utils/src/qualify_min_const_fn.rs). changelog: none
This commit is contained in:
commit
4ead403c91
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ const fn can_be_const() {
|
|||
0u64.method();
|
||||
}
|
||||
|
||||
// False negative, see FIXME comment in `clipy_utils::qualify_min_const`
|
||||
// False negative, see FIXME comment in `clippy_utils::qualify_min_const_fn`
|
||||
fn could_be_const_but_does_not_trigger<T>(t: T)
|
||||
where
|
||||
T: const ConstTrait,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ fn can_be_const() {
|
|||
0u64.method();
|
||||
}
|
||||
|
||||
// False negative, see FIXME comment in `clipy_utils::qualify_min_const`
|
||||
// False negative, see FIXME comment in `clippy_utils::qualify_min_const_fn`
|
||||
fn could_be_const_but_does_not_trigger<T>(t: T)
|
||||
where
|
||||
T: const ConstTrait,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue