Skip to content

Commit

Permalink
QoL fix: we display the type now in the error
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-hughes committed Nov 8, 2024
1 parent 0704e8e commit 61a644a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/static/gc/fsa/stdlib_errors.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LL | println!("Boom {}", self.1.0); // deref `Unsafe`
| it uses a type which is not safe to use in a finalizer.
...
LL | Gc::new(t);
| --------^- `Gc::new` requires that it implements the `FinalizeSafe` trait.
| --------^- `Gc::new` requires that Unsafe implements the `FinalizeSafe` trait.
|
= help: `Gc` runs finalizers on a separate thread, so drop methods
must only use values whose types implement `FinalizerSafe`.
Expand Down

0 comments on commit 61a644a

Please sign in to comment.