]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-26205.rs
3 use std
::ops
::{Deref, DerefMut}
;
8 fn foo_mut(&mut self) {}
16 fn deref(&self) -> &Foo
{
21 impl DerefMut
for Bar
{
22 fn deref_mut(&mut self) -> &mut Foo
{
27 fn test(mut bar
: Box
<Bar
>) {