https://psalm.dev/r/346857a814
```php
*/
trait C {
/** @return T */
public function a() { return $this->a; }
}
/**
* @template T
* @extends A
*/
class B extends A {
/** @use C */
use C;
}
/** @psalm-trace $_a */
$_a = (new B('ssss'))->a();
```
```
Psalm output (using commit ef3b018):
INFO: Trace - 28:1 - $_a: mixed
ERROR: ExtensionRequirementViolation - 24:6 - C requires using class to extend A, but B does not
```
https://psalm.dev/r/346857a814