creusot icon indicating copy to clipboard operation
creusot copied to clipboard

Inherit trusted attribute from parents

Open xldenis opened this issue 6 months ago • 4 comments

Here's a rough prototype of what was proposed to solve #1067.

I need to actually add tests here, but it should cover the intended usecase.

There's a wrinkle in the form of trusted on traits and types also having different semantics: I don't think we want to inherit trusted on types from parent modules, it makes them opaque. Similarly we probably don't want to inherit trusted for trait declarations?

xldenis avatar Aug 21 '24 19:08 xldenis