X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fcompile-fail%2Fissue-23595-1.rs;h=483c205f42d6daa3a109942b1cd7e715cbcc5d3e;hb=892cb143e5984f220e6b26b48d972bd1f4644298;hp=2912c4ead7a0a1cb0d0d10eb6ebe699281203289;hpb=93271d159e10b8216678ddf6b9ca5bf68c569de1;p=rust.git diff --git a/src/test/compile-fail/issue-23595-1.rs b/src/test/compile-fail/issue-23595-1.rs index 2912c4ead7a..483c205f42d 100644 --- a/src/test/compile-fail/issue-23595-1.rs +++ b/src/test/compile-fail/issue-23595-1.rs @@ -1,12 +1,12 @@ #![feature(associated_type_defaults)] -use std::ops::{Index}; +use std::ops::Index; trait Hierarchy { type Value; type ChildKey; type Children = dyn Index; - //~^ ERROR: the value of the associated types `Value` (from the trait `Hierarchy`), `ChildKey` + //~^ ERROR: the value of the associated types fn data(&self) -> Option<(Self::Value, Self::Children)>; }