diff options
| author | Michael Goulet <michael@errs.io> | 2024-11-01 18:49:08 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-11-03 18:59:41 +0000 |
| commit | f0cf9969cb63f46aeb5a7bba9cd01777784a2ef5 (patch) | |
| tree | 8531df3517d6133607f2d9bbbc7bbf92630adc6d /tests | |
| parent | c2db7fa360ec7d31240a75c94af7071fe8224407 (diff) | |
| download | rust-f0cf9969cb63f46aeb5a7bba9cd01777784a2ef5.tar.gz rust-f0cf9969cb63f46aeb5a7bba9cd01777784a2ef5.zip | |
Rename the FIXMEs, remove a few that dont matter anymore
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/missing_const_for_fn/could_be_const.fixed | 4 | ||||
| -rw-r--r-- | tests/ui/missing_const_for_fn/could_be_const.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/missing_const_for_fn/could_be_const.fixed b/tests/ui/missing_const_for_fn/could_be_const.fixed index f7b6e1a186b..7c882789511 100644 --- a/tests/ui/missing_const_for_fn/could_be_const.fixed +++ b/tests/ui/missing_const_for_fn/could_be_const.fixed @@ -104,7 +104,7 @@ fn main() {} struct D; -/* FIXME(effects) +/* FIXME(const_trait_impl) impl const Drop for D { fn drop(&mut self) { todo!(); @@ -113,7 +113,7 @@ impl const Drop for D { */ // Lint this, since it can be dropped in const contexts -// FIXME(effects) +// FIXME(const_trait_impl) const fn d(this: D) {} //~^ ERROR: this could be a `const fn` diff --git a/tests/ui/missing_const_for_fn/could_be_const.rs b/tests/ui/missing_const_for_fn/could_be_const.rs index 4866e321024..48312d48ed3 100644 --- a/tests/ui/missing_const_for_fn/could_be_const.rs +++ b/tests/ui/missing_const_for_fn/could_be_const.rs @@ -104,7 +104,7 @@ fn main() {} struct D; -/* FIXME(effects) +/* FIXME(const_trait_impl) impl const Drop for D { fn drop(&mut self) { todo!(); @@ -113,7 +113,7 @@ impl const Drop for D { */ // Lint this, since it can be dropped in const contexts -// FIXME(effects) +// FIXME(const_trait_impl) fn d(this: D) {} //~^ ERROR: this could be a `const fn` |
