]>
git.proxmox.com Git - rustc.git/blob - tests/ui/consts/issue-94675.rs
1 #![feature(const_trait_impl, const_mut_refs)]
4 bar
: &'a
mut Vec
<usize>,
8 const fn spam(&mut self, baz
: &mut Vec
<u32>) {
9 self.bar
[0] = baz
.len();
10 //~^ ERROR: cannot call
11 //~| ERROR: cannot call
12 //~| ERROR: the trait bound