]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-58734.rs
4 fn not_object_safe() -> Self;
8 fn exists(self) -> () {
11 fn not_object_safe() -> Self {
17 // object-safe or not, this call is OK
19 // no object safety error
20 Trait
::nonexistent(());
21 //~^ ERROR no function or associated item named `nonexistent` found
22 //~| WARN trait objects without an explicit `dyn` are deprecated
23 //~| WARN this is accepted in the current edition