mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
e6059f5222
Don't infer attributes of virtual calls based on the function body Fixes (after backport) #137646. Since we don't know the exact implementation of the virtual call, it might write to parameters, we can't infer the readonly attribute.