]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/const-generics/issues/issue-61336.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / const-generics / issues / issue-61336.rs
index fb55542a1c9931dc5b89d6b66a82c5bd79cd5091..7c34250e6b2d2e695138128cac3e2eb4fa167913 100644 (file)
@@ -8,7 +8,7 @@ fn f<T: Copy, const N: usize>(x: T) -> [T; N] {
 
 fn g<T, const N: usize>(x: T) -> [T; N] {
     [x; N]
-    //~^ ERROR the trait bound `T: std::marker::Copy` is not satisfied
+    //~^ ERROR the trait bound `T: Copy` is not satisfied
 }
 
 fn main() {