Skip to content

Commit

Permalink
comment out all viperproject#1221 specs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
juliand665 committed Feb 15, 2023
1 parent 077c0e0 commit 0b2a7d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prusti-contracts/prusti-contracts/src/core_spec/ops/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ use crate::*;
use core::ops::Index;

// FUTURE(#1221): This spec is currently not usable due to issue #1221.
/*
#[extern_spec]
trait Index<Idx> {
#[pure]
fn index(&self, idx: Idx) -> &Self::Output;
}
*/
2 changes: 2 additions & 0 deletions prusti-contracts/prusti-contracts/src/core_spec/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ impl<T> [T] {
}

// FUTURE(#1221): This spec is currently not usable due to issue #1221.
/*
#[extern_spec]
impl<T, I> Index<I> for [T]
where
Expand All @@ -50,3 +51,4 @@ where
#[pure]
fn index(&self, index: I) -> &I::Output;
}
*/

0 comments on commit 0b2a7d8

Please sign in to comment.